summary refs log tree commit diff stats
path: root/src/sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sprite.h b/src/sprite.h index 10dd3a8..f631652 100644 --- a/src/sprite.h +++ b/src/sprite.h
@@ -81,6 +81,7 @@ public:
81 vec2i collisionSize; 81 vec2i collisionSize;
82 std::string interactionScript; 82 std::string interactionScript;
83 std::string walkthroughScript; 83 std::string walkthroughScript;
84 std::string bumpPlayerScript;
84 std::string enclosureZone; 85 std::string enclosureZone;
85 86
86 // Animation (internals) 87 // Animation (internals)
@@ -109,6 +110,7 @@ public:
109 bool orientable = false; 110 bool orientable = false;
110 int movementSpeed = 0; // 1 is slow (good for NPCs), 2 is Lucas's default walking speed 111 int movementSpeed = 0; // 1 is slow (good for NPCs), 2 is Lucas's default walking speed
111 std::vector<int> followers; 112 std::vector<int> followers;
113 int leaderId = -1;
112 std::deque<Movement> trail; 114 std::deque<Movement> trail;
113 bool trailsAreHalved = false; 115 bool trailsAreHalved = false;
114 CharacterState characterState = CharacterState::Still; 116 CharacterState characterState = CharacterState::Still;