wip
This commit is contained in:
@@ -31,12 +31,15 @@ public:
|
||||
float m_jump_strength;
|
||||
bool m_jumping;
|
||||
void handle_movment();
|
||||
void handle_gravity();
|
||||
bool get_jumping();
|
||||
void horizontal_no_out_of_bounds(Entity &base);
|
||||
void vertical_no_out_of_bounds(Entity &base);
|
||||
bool get_horizontal_collision(Entity *wall_list[MAX_ROWS][MAX_COLS]);
|
||||
bool get_vertical_top_collision(Entity *wall_list[MAX_ROWS][MAX_COLS]);
|
||||
bool get_vertical_bottom_collision(Entity *wall_list[MAX_ROWS][MAX_COLS]);
|
||||
private:
|
||||
sf::Vector2f _min_velocity;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user