breaking changes: optimizing code and added .clang-format
This commit is contained in:
@@ -47,4 +47,13 @@ private:
|
||||
sf::Vector2f _min_velocity;
|
||||
};
|
||||
|
||||
struct player_data {
|
||||
sf::Vector2<float> size { TILESIZE / 2.0f, TILESIZE / 2.0f };
|
||||
sf::Vector2<float> pos { TILESIZE, TILESIZE };
|
||||
float max_velocity_y { 15.0f };
|
||||
float border_size { -1.0f };
|
||||
float dash_distance { 20.0f };
|
||||
sf::Vector2f velocity { 3.0f, 0 };
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user