Add fly animations

This commit is contained in:
Bram Verhulst
2024-05-29 00:00:29 +02:00
parent 3c83e566dd
commit e1165fdcb4
31 changed files with 580 additions and 157 deletions

View File

@@ -29,6 +29,10 @@ namespace Collision
Vector2f vel;
std::map<CollisionDirection, CollisionRect*> ContactMap{};
Rectf getRectf() {
return Rectf{ pos.x, pos.y, size.x, size.y };
}
};
struct TileCollisionRect