summaryrefslogtreecommitdiff
path: root/src/resources/monsterinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/monsterinfo.h')
-rw-r--r--src/resources/monsterinfo.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/resources/monsterinfo.h b/src/resources/monsterinfo.h
index b65237da..5a820659 100644
--- a/src/resources/monsterinfo.h
+++ b/src/resources/monsterinfo.h
@@ -28,6 +28,8 @@
#include <string>
#include <vector>
+#include "../being.h"
+
enum SoundEvent
{
@@ -63,6 +65,10 @@ class MonsterInfo
setSprite(std::string filename) { mSprite = filename; }
void
+ setTargetCursorSize(Being::TargetCursorSize targetCursorSize)
+ { mTargetCursorSize = targetCursorSize; }
+
+ void
addSound(SoundEvent event, std::string filename);
const std::string&
@@ -71,13 +77,16 @@ class MonsterInfo
const std::string&
getSprite() const { return mSprite; }
+ const Being::TargetCursorSize
+ getTargetCursorSize() const { return mTargetCursorSize; }
+
std::string
getSound(SoundEvent event) const;
private:
std::string mName;
std::string mSprite;
-
+ Being::TargetCursorSize mTargetCursorSize;
std::map<SoundEvent, std::vector<std::string>* > mSounds;
};