diff options
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.h b/src/game.h index a8626fa..274ef2e 100644 --- a/src/game.h +++ b/src/game.h | |||
@@ -40,8 +40,8 @@ public: | |||
40 | 40 | ||
41 | void moveSprite(int id, vec2i newLoc); | 41 | void moveSprite(int id, vec2i newLoc); |
42 | 42 | ||
43 | void setSpriteWalking(int id, bool walking) { | 43 | void setSpriteState(int id, std::string state) { |
44 | sprites_[id].setWalking(walking); | 44 | sprites_[id].setState(std::move(state)); |
45 | } | 45 | } |
46 | 46 | ||
47 | void setSpriteDirection(int id, Direction dir) { | 47 | void setSpriteDirection(int id, Direction dir) { |