22 #ifndef PINK_LEAD_ACTOR_H 23 #define PINK_LEAD_ACTOR_H 25 #include "common/rect.h" 26 #include "common/keyboard.h" 28 #include "pink/objects/actors/actor.h" 29 #include "pink/audio_info_mgr.h" 38 class SupportingActor;
51 kPlayingExitSequence = 6,
55 void deserialize(
Archive &archive)
override;
57 void toConsole()
const override;
59 void loadState(
Archive &archive);
60 void saveState(
Archive &archive);
62 void init(
bool paused)
override;
64 void start(
bool isHandler);
70 void onKeyboardButtonClick(Common::KeyCode code);
72 void onLeftButtonUp();
80 void onLeftClickMessage()
override;
81 virtual void onVariableSet() {}
82 void onInventoryClosed(
bool isItemClicked);
86 bool isInteractingWith(
const Actor *actor)
const;
90 State getState()
const {
return _state; }
92 AudioInfoMgr *getAudioInfoMgr() {
return &_audioInfoMgr; }
99 void forceUpdateCursor();
103 virtual void sendUseClickMessage(
Actor *actor);
104 void sendLeftClickMessage(
Actor *actor);
108 void startInventory(
bool paused);
111 void cancelInteraction();
123 State _stateBeforeInventory;
124 State _stateBeforePDA;
132 void toConsole()
const override;
140 void toConsole()
const override;
144 void onLeftClickMessage()
override;
145 void onVariableSet()
override;
150 void sendUseClickMessage(
Actor *actor)
override;
155 bool playingMiniGame();
Definition: cursor_mgr.h:35
Definition: audio_info_mgr.h:33
Definition: walk_location.h:28
Definition: sequencer.h:36
Definition: lead_actor.h:41
Definition: lead_actor.h:130
Definition: walk_mgr.h:42
Definition: lead_actor.h:138