diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-21 16:12:16 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-21 16:12:16 +0100 |
| commit | caeb26e90ef09fdad85af72f460644e09d3b2c7c (patch) | |
| tree | fa24199fac41284ddb5bcf6855a0b094de7582a2 /include/graphics.hpp | |
| parent | 0cebd4ae751e0554f948389654fe4ad7e92943f0 (diff) | |
| download | mario_sokoban-caeb26e90ef09fdad85af72f460644e09d3b2c7c.tar.gz mario_sokoban-caeb26e90ef09fdad85af72f460644e09d3b2c7c.tar.bz2 mario_sokoban-caeb26e90ef09fdad85af72f460644e09d3b2c7c.zip | |
Player sprite direction, read map file
Diffstat (limited to 'include/graphics.hpp')
| -rw-r--r-- | include/graphics.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
