diff options
Diffstat (limited to 'engines/pink/actors/actor.h')
-rw-r--r-- | engines/pink/actors/actor.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/pink/actors/actor.h b/engines/pink/actors/actor.h index 1db59cf287..fd9c25b813 100644 --- a/engines/pink/actors/actor.h +++ b/engines/pink/actors/actor.h @@ -34,7 +34,10 @@ class Sequencer; class Actor : public NamedObject { public: - Actor() {}; + Actor() + : _page(nullptr), _action(nullptr), + _isActionEnd(1) + {}; virtual void deserialize(Archive &archive); Action *findAction(Common::String &name); @@ -42,11 +45,13 @@ public: Sequencer *getSequencer(); GamePage *getPage() const; + void setIdleAction(bool unk); + protected: GamePage *_page; - //int possibly_isActionNotExist; Action *_action; Common::Array<Action*> _actions; + bool _isActionEnd; }; } // End of namespace Pink |