diff options
Diffstat (limited to 'GameStructures.h')
| -rw-r--r-- | GameStructures.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/GameStructures.h b/GameStructures.h index 72958a3..b81ca45 100644 --- a/GameStructures.h +++ b/GameStructures.h @@ -6,6 +6,10 @@ extern "C" { #endif //__cplusplus /* ************************************* + * Includes + * *************************************/ + + /* ************************************* * Defines * *************************************/ @@ -22,12 +26,18 @@ typedef struct t_Camera uint8_t Speed_Timer; }TYPE_CAMERA; +typedef enum t_buildingIds +{ + BARRACKS = 0 , + TOWER , +}TYPE_BUILDING_ID; + typedef struct t_Building { uint16_t x; uint16_t y; uint8_t hp; - uint8_t id; + TYPE_BUILDING_ID id; bool built; bool selected; }TYPE_BUILDING; |
