Wicked/Physics/TileMapCollisionStepper
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
| collision_tile_map |
AllegroFlare::TileMaps::TileMap<int>* |
| aabb2d |
Wicked::Physics::AABB2D* |
| tile_width |
float |
| tile_height |
float |
Methods
| step() |
| adjacent_to_bottom_edge(float tile_width=16.0f, float tile_height=16.0f) |
| adjacent_to_right_edge(float tile_width=16.0f, float tile_height=16.0f) |
| adjacent_to_top_edge(float tile_width=16.0f, float tile_height=16.0f) |
| get_tile_coords_below_left_foot(float x=0.0f, float y=0.0f, float height=1.0f) |
| get_tile_coords_below_right_foot(float x=0.0f, float y=0.0f, float width=1.0f, float height=1.0f) |
| adjacent_to_left_edge(float tile_width=16.0f, float tile_height=16.0f) |
| get_next_collided_tile_coords(float x=0.0f, float y=0.0f, float velocity=0.0f, float depth_of_body=1.0f, float length_of_edge=1.0f, float tile_length_n=1.0f, float tile_length_m=1.0f) |
| world_coords_to_tile_coords(float world_pos=0.0f, float tile_length=1.0f) |
| world_x_coords_to_tile_coords_x(float world_pos_x=0.0f) |
| world_y_coords_to_tile_coords_y(float world_pos_y=0.0f) |
| get_tile_left_edge(float tile_x=0.0f, float tile_width=16.0f) |
| get_tile_right_edge(float tile_x=0.0f, float tile_width=16.0f) |
| get_tile_top_edge(float tile_y=0.0f, float tile_height=16.0f) |
| get_tile_bottom_edge(float tile_y=0.0f, float tile_height=16.0f) |
Dependencies
| {"symbol"=>"std::fmod", "headers"=>["cmath"]} |
| {"symbol"=>"Wicked::Physics::AABB2D", "headers"=>["Wicked/Physics/AABB2D.hpp"]} |
| {"symbol"=>"std::vector<Wicked::Physics::Int2D>", "headers"=>["vector", "Wicked/Physics/Int2D.hpp"]} |
| {"symbol"=>"std::pair<int, int>", "headers"=>["utility"]} |
| {"symbol"=>"AllegroFlare::TileMaps::TileMap", "headers"=>["AllegroFlare/TileMaps/TileMap.hpp"]} |
| {"symbol"=>"Wicked::Physics::Int2D", "headers"=>["Wicked/Physics/Int2D.hpp"]} |
Sponsor
Visit CLUBCATT for cat shirts, cat mugs, cat puzzles, and more.