SDLPP: RenderObject - use Vec2D
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user