From be9ccb73bc20b03f62c77f5d529602a10ef4eda9 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 12 Mar 2022 12:09:58 -0500 Subject: player has a sprite now thanks to world of solaria --- src/game.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index c489afc..2fd0f05 100644 --- a/src/game.h +++ b/src/game.h @@ -8,6 +8,7 @@ #include "map.h" #include "muxer.h" #include "timer.h" +#include "animation.h" const int GAME_WIDTH = 640*2; const int GAME_HEIGHT = 480*2; @@ -102,6 +103,7 @@ public: int player_x = 0; int player_y = 0; bool renderPlayer = true; + Animation playerAnim {"../res/player_anim.txt"}; int maxZoom = INIT_ZOOM; -- cgit 1.4.1