From f0eab98e417bf648261a9027bef91fe935af76cb Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 20 Feb 2021 13:34:04 -0500 Subject: Added variable movement speed Ionia now moves at half Lucas's speed, which I think is good for NPCs. --- src/sprite.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sprite.h') 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: // Character bool orientable = false; + int movementSpeed = 0; // 1 is slow (good for NPCs), 2 is Lucas's default walking speed std::vector followers; std::deque trail; CharacterState characterState = CharacterState::Still; -- cgit 1.4.1