summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2010-03-03 20:33:40 +0100
committerBertram <yohanndotferreiraatorange.fr>2010-04-12 23:50:22 +0200
commit27c7c5f725f5cf1e3393df9393b08fdc26057212 (patch)
tree566f9d7b043e7482331a0091f03daacd0d095db9 /src/being.h
parent1bc96ba79136e8e47c077039d09e8a027569bcdb (diff)
downloadmana-27c7c5f725f5cf1e3393df9393b08fdc26057212.tar.gz
mana-27c7c5f725f5cf1e3393df9393b08fdc26057212.tar.bz2
mana-27c7c5f725f5cf1e3393df9393b08fdc26057212.tar.xz
mana-27c7c5f725f5cf1e3393df9393b08fdc26057212.zip
Added the player collision rectangle and tweaked colors
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 96c25ffc..3479a9a8 100644
--- a/src/being.h
+++ b/src/being.h
@@ -442,6 +442,11 @@ class Being : public Sprite, public ConfigListener
virtual int getHeight() const;
/**
+ * Returns the being's pixel radius used to detect collisions.
+ */
+ virtual int getCollisionRadius() const;
+
+ /**
* Returns the required size of a target cursor for this being.
*/
virtual Being::TargetCursorSize getTargetCursorSize() const