diff options
Diffstat (limited to 'engines/pink/objects/actors')
-rw-r--r-- | engines/pink/objects/actors/actor.h | 2 | ||||
-rw-r--r-- | engines/pink/objects/actors/cursor_actor.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/pink/objects/actors/actor.h b/engines/pink/objects/actors/actor.h index 2d42f37705..668186217d 100644 --- a/engines/pink/objects/actors/actor.h +++ b/engines/pink/objects/actors/actor.h @@ -57,6 +57,8 @@ public: void endAction() { _isActionEnded = true; } + virtual bool isCursor() { return false; } + virtual bool isLeftClickHandlers() { return false; } virtual bool isUseClickHandlers(InventoryItem *item) { return false; } diff --git a/engines/pink/objects/actors/cursor_actor.h b/engines/pink/objects/actors/cursor_actor.h index 8446b76e45..2d5eb281e8 100644 --- a/engines/pink/objects/actors/cursor_actor.h +++ b/engines/pink/objects/actors/cursor_actor.h @@ -39,6 +39,10 @@ public: _actions[i]->toConsole(); } } + + bool isCursor() override { + return true; + } }; } // End of namespace Pink |