aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/aniobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/aniobject.h')
-rw-r--r--engines/gob/aniobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/aniobject.h b/engines/gob/aniobject.h
index 28103007a6..e3fe301400 100644
--- a/engines/gob/aniobject.h
+++ b/engines/gob/aniobject.h
@@ -69,6 +69,11 @@ public:
/** Return the current frame size. */
void getFrameSize(int16 &width, int16 &height) const;
+ /** Are there coordinates within the animation sprite? */
+ bool isIn(int16 x, int16 y) const;
+ /** Is this object within the animation sprite? */
+ bool isIn(const ANIObject &obj) const;
+
/** Set the animation number. */
void setAnimation(uint16 animation);