From caeb26e90ef09fdad85af72f460644e09d3b2c7c Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 21 Mar 2020 16:12:16 +0100 Subject: Player sprite direction, read map file --- include/graphics.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/graphics.hpp') diff --git a/include/graphics.hpp b/include/graphics.hpp index ea5d70e..5f274a3 100644 --- a/include/graphics.hpp +++ b/include/graphics.hpp @@ -28,7 +28,10 @@ private: SDL_Texture *m_crateTex; SDL_Texture *m_crateSolvedTex; SDL_Texture *m_payloadTex; - SDL_Texture *m_playerTex; + SDL_Texture *m_playerUpTex; + SDL_Texture *m_playerDownTex; + SDL_Texture *m_playerLeftTex; + SDL_Texture *m_playerRightTex; void drawGame(); void drawCell(Game::Cell cell, int y, int x); -- cgit