diff options
Diffstat (limited to 'include/game.h')
-rw-r--r-- | include/game.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/game.h b/include/game.h index 99529bf..2c4ea24 100644 --- a/include/game.h +++ b/include/game.h @@ -13,7 +13,8 @@ typedef enum EntityType { Player_Entity, Wall_Entity, - Background_Entity + Background_Entity, + Barrel_Entity } EntityType; typedef enum DrawLayer { @@ -36,6 +37,7 @@ typedef struct Sprite { Texture2D texture; DrawLayer layer; Rectangle destRect; //Destination rectangle relative to player position + Rectangle srcRect; //For un-animated sprites only bool flipX; bool flipY; |