diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 22:28:27 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 22:28:27 -0500 |
commit | 5931470800c43260f600303d1231dbaf586f26fc (patch) | |
tree | aaaa30ee6bae81c1badc8b70d2fbdce33a058d5a /src/animation_system.h | |
parent | 315ca2fb388f790791c9ce372cf44e00d51e0e7f (diff) | |
download | tanetane-5931470800c43260f600303d1231dbaf586f26fc.tar.gz tanetane-5931470800c43260f600303d1231dbaf586f26fc.tar.bz2 tanetane-5931470800c43260f600303d1231dbaf586f26fc.zip |
Map changing!
Also removed some dependencies on the Renderer. More changes need to be made. Fading to black before the change would be good. And making sure the characters are facing the right direction. Maybe that code shouldn't live in Game, either. Later we also want to combine the tilesets for these two maps (and any others that are on Tanetane).
Diffstat (limited to 'src/animation_system.h')
-rw-r--r-- | src/animation_system.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animation_system.h b/src/animation_system.h index 2e13784..a116673 100644 --- a/src/animation_system.h +++ b/src/animation_system.h | |||
@@ -7,7 +7,6 @@ | |||
7 | #include "timer.h" | 7 | #include "timer.h" |
8 | 8 | ||
9 | class Game; | 9 | class Game; |
10 | class Renderer; | ||
11 | 10 | ||
12 | class AnimationSystem : public System { | 11 | class AnimationSystem : public System { |
13 | public: | 12 | public: |
@@ -18,7 +17,7 @@ public: | |||
18 | 17 | ||
19 | void tick(double dt) override; | 18 | void tick(double dt) override; |
20 | 19 | ||
21 | void initSprite(int spriteId, std::string_view filename, Renderer& renderer); | 20 | void initSprite(int spriteId, std::string_view filename); |
22 | 21 | ||
23 | void setSpriteDirection(int spriteId, Direction dir); | 22 | void setSpriteDirection(int spriteId, Direction dir); |
24 | 23 | ||