diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-20 20:27:32 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-20 20:27:32 +0000 |
commit | e7c3c0ae918caf70f67b378743f0ede929285e42 (patch) | |
tree | 953cb01a89665e500e9a5ec0f711d31df0e27c7d /src/monster.cpp | |
parent | c2b7b192b50a4696888ee92a8aa9abfa21eb057e (diff) | |
download | mana-e7c3c0ae918caf70f67b378743f0ede929285e42.tar.gz mana-e7c3c0ae918caf70f67b378743f0ede929285e42.tar.bz2 mana-e7c3c0ae918caf70f67b378743f0ede929285e42.tar.xz mana-e7c3c0ae918caf70f67b378743f0ede929285e42.zip |
Added different target cursor sizes for monsters. Graphics for small and large cursor are provisional until better versions based on the original SVG of the medium sized one are available.
Diffstat (limited to 'src/monster.cpp')
-rw-r--r-- | src/monster.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monster.cpp b/src/monster.cpp index c20e12d0..687fe625 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -103,6 +103,12 @@ Monster::handleAttack(Being *victim, int damage) sound.playSfx(mi.getSound((damage > 0) ? EVENT_HIT : EVENT_MISS)); } +Being::TargetCursorSize +Monster::getTargetCursorSize() const +{ + return getInfo().getTargetCursorSize(); +} + const MonsterInfo& Monster::getInfo() const { |