SDLPP: RenderObject - use Vec2D

This commit is contained in:
2021-03-15 14:43:56 +01:00
parent 6ecdb6d90d
commit 8540573455
2 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ protected:
std::shared_ptr< Renderer > renderer;
std::shared_ptr< CollisionPolygon > polygon;
double movementSpeed = 0;
std::pair< int, int > movementDirection = { 0, 0 };
Vec2D< int > movementDirection = { 0, 0 };
std::vector< std::shared_ptr< RenderObject > > colidedWith;
uint64_t id = -1;
bool hidden = false;