Properly handle map collisions when placing/destroying buildings
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
typedef struct Game Game;
|
||||
|
||||
bool canPlaceBuilding(Game *game, BuildingType type, i32 tileX, i32 tileY);
|
||||
ecs_entity_t placeBuilding(Game *game, BuildingType type, i32 tileX, i32 tileY, Owner owner);
|
||||
ecs_entity_t placeBuilding(Game *game, BuildingType type, i32 posX, i32 posY, Owner owner);
|
||||
|
||||
Vector2 getPositionNearBuilding(ecs_entity_t building, Vector2 fromPos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user