ScummVM API documentation
Pink::LeadActor Class Reference
Inheritance diagram for Pink::LeadActor:
Pink::Actor Pink::NamedObject Pink::Object Pink::ParlSqPink Pink::PubPink

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
 
AudioInfoMgrgetAudioInfoMgr ()
 
ActorgetActorByPoint (Common::Point point)
 
ActorfindActor (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)
 
ActionfindAction (const Common::String &name)
 
ActiongetAction ()
 
const ActiongetAction () const
 
PagegetPage ()
 
const PagegetPage () const
 
InventoryMgrgetInventoryMgr () 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::StringgetName () 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 WalkLocationgetWalkDestination ()
 
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
 

The documentation for this class was generated from the following file: