diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-20 13:34:04 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-20 13:34:04 -0500 |
commit | f0eab98e417bf648261a9027bef91fe935af76cb (patch) | |
tree | 7c212cbe8bd549d5a6229c616806095596859a8f /src/sprite.h | |
parent | ca4935cb65325edbd45d4a3aacc921ea9ed9483b (diff) | |
download | tanetane-f0eab98e417bf648261a9027bef91fe935af76cb.tar.gz tanetane-f0eab98e417bf648261a9027bef91fe935af76cb.tar.bz2 tanetane-f0eab98e417bf648261a9027bef91fe935af76cb.zip |
Added variable movement speed
Ionia now moves at half Lucas's speed, which I think is good for NPCs.
Diffstat (limited to 'src/sprite.h')
-rw-r--r-- | src/sprite.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sprite.h b/src/sprite.h index e0cff0c..4e3e490 100644 --- a/src/sprite.h +++ b/src/sprite.h | |||
@@ -70,6 +70,7 @@ public: | |||
70 | 70 | ||
71 | // Character | 71 | // Character |
72 | bool orientable = false; | 72 | bool orientable = false; |
73 | int movementSpeed = 0; // 1 is slow (good for NPCs), 2 is Lucas's default walking speed | ||
73 | std::vector<int> followers; | 74 | std::vector<int> followers; |
74 | std::deque<Movement> trail; | 75 | std::deque<Movement> trail; |
75 | CharacterState characterState = CharacterState::Still; | 76 | CharacterState characterState = CharacterState::Still; |