Public Types | |
enum | State { kReady = 0, kMoving = 1, kPlayingSequence = 2, kInventory = 3, kPDA = 4, kPlayingExitSequence = 6, kUndefined = 7 } |
Public Member Functions | |
void | deserialize (Archive &archive) override |
void | toConsole () const override |
void | loadState (Archive &archive) |
void | saveState (Archive &archive) |
void | init (bool paused) override |
void | start (bool isHandler) |
void | update () |
void | loadPDA (const Common::String &pageName) |
void | onKeyboardButtonClick (Common::KeyCode code) |
void | onLeftButtonClick (Common::Point point) |
void | onLeftButtonUp () |
virtual void | onRightButtonClick (Common::Point point) |
void | onMouseMove (Common::Point point) |
void | onMouseOverWithItem (Common::Point point, const Common::String &itemName, Pink::CursorMgr *cursorMgr) override |
void | onMouseOver (Common::Point point, CursorMgr *mgr) override |
void | onLeftClickMessage () override |
virtual void | onVariableSet () |
void | onInventoryClosed (bool isItemClicked) |
void | onWalkEnd (const Common::String &stopName) |
void | onPDAClose () |
bool | isInteractingWith (const Actor *actor) const |
void | setNextExecutors (const Common::String &nextModule, const Common::String &nextPage) |
State | getState () const |
AudioInfoMgr * | getAudioInfoMgr () |
Actor * | getActorByPoint (Common::Point point) |
Actor * | findActor (const Common::String &name) |
Public Member Functions inherited from Pink::Actor | |
void | loadState (Archive &archive) |
void | saveState (Archive &archive) |
bool | initPalette (Screen *screen) |
bool | isPlaying () const |
virtual void | pause (bool paused) |
void | endAction () |
virtual bool | isSupporting () const |
virtual bool | isCursor () const |
virtual bool | isLeftClickHandlers () const |
virtual bool | isUseClickHandlers (InventoryItem *item) const |
virtual void | onTimerMessage () |
virtual void | onUseClickMessage (InventoryItem *item, InventoryMgr *mgr) |
Action * | findAction (const Common::String &name) |
Action * | getAction () |
const Action * | getAction () const |
Page * | getPage () |
const Page * | getPage () const |
InventoryMgr * | getInventoryMgr () const |
virtual Common::String | getPDALink () const |
virtual Common::String | getLocation () const |
void | setAction (const Common::String &name) |
void | setAction (Action *newAction) |
void | setAction (Action *newAction, bool loadingSave) |
Public Member Functions inherited from Pink::NamedObject | |
NamedObject (const Common::String &name) | |
void | deserialize (Archive &archive) override |
const Common::String & | getName () const |
Public Member Functions inherited from Pink::Object | |
virtual void | load (Archive &) |
Protected Member Functions | |
void | forceUpdateCursor () |
virtual void | updateCursor (Common::Point point) |
virtual void | sendUseClickMessage (Actor *actor) |
void | sendLeftClickMessage (Actor *actor) |
virtual WalkLocation * | getWalkDestination () |
void | startInventory (bool paused) |
bool | startWalk () |
void | cancelInteraction () |
Protected Attributes | |
Actor * | _recipient |
CursorMgr * | _cursorMgr |
WalkMgr * | _walkMgr |
Sequencer * | _sequencer |
AudioInfoMgr | _audioInfoMgr |
State | _state |
State | _nextState |
State | _stateBeforeInventory |
State | _stateBeforePDA |
bool | _isHaveItem |
Protected Attributes inherited from Pink::Actor | |
Page * | _page |
Action * | _action |
Array< Action * > | _actions |
bool | _isActionEnded |
Protected Attributes inherited from Pink::NamedObject | |
Common::String | _name |