Separate buildings function from main.c
This commit is contained in:
12
game/buildings.h
Normal file
12
game/buildings.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef PIXELDEFENSE_BUILDINGS_H
|
||||
#define PIXELDEFENSE_BUILDINGS_H
|
||||
|
||||
#include <breeze.h>
|
||||
#include <flecs.h>
|
||||
|
||||
#include "utils/building_types.h"
|
||||
|
||||
bool canPlaceBuilding(BzTileMap *map, BuildingType type, i32 tileX, i32 tileY);
|
||||
ecs_entity_t placeBuilding(BzTileMap *map, BuildingType type, i32 tileX, i32 tileY);
|
||||
|
||||
#endif //PIXELDEFENSE_BUILDINGS_H
|
||||
Reference in New Issue
Block a user