Convert buildings to entities (partially)

This commit is contained in:
2023-11-09 18:11:46 +01:00
parent 37dd2a8bc4
commit fed67a61e6
8 changed files with 227 additions and 24 deletions

View File

@@ -3,9 +3,14 @@
#include <breeze.h>
typedef struct {
f32 x;
f32 y;
} Position, Velocity;
typedef struct TilePosition {
BzTile x;
BzTile y;
} TilePosition;
typedef struct TileSize {
BzTile w;
BzTile h;
} TileSize;
#endif //PIXELDEFENSE_COMPONENTS_H