breaking changes: optimizing code and added .clang-format
This commit is contained in:
1 parent
55f604710e
commit
b5a79de6c0
10 files changed
+431
-315
No files matched your search
@@ -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