25 #include "common/rect.h" 27 #include "pink/utils.h" 44 void deserialize(
Archive &archive)
override;
46 void loadState(
Archive &archive);
47 void saveState(
Archive &archive);
49 virtual void init(
bool paused);
50 bool initPalette(
Screen *screen);
52 void toConsole()
const override;
54 bool isPlaying()
const {
return !_isActionEnded; }
55 virtual void pause(
bool paused);
57 void endAction() { _isActionEnded =
true; }
59 virtual bool isSupporting()
const {
return false; }
60 virtual bool isCursor()
const {
return false; }
62 virtual bool isLeftClickHandlers()
const {
return false; }
63 virtual bool isUseClickHandlers(
InventoryItem *item)
const {
return false; }
68 virtual void onTimerMessage() {}
69 virtual void onLeftClickMessage() {}
74 Action *getAction() {
return _action; }
75 const Action *getAction()
const {
return _action; }
76 Page *getPage() {
return _page; }
77 const Page *getPage()
const {
return _page; }
85 void setAction(
const Common::String &name) { setAction(findAction(name)); }
86 void setAction(
Action *newAction);
87 void setAction(
Action *newAction,
bool loadingSave);
Definition: cursor_mgr.h:35
Definition: inventory.h:48
Definition: atari-screen.h:60
Definition: inventory.h:31