diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-15 11:06:32 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-15 11:06:32 -0700 |
commit | 10a9dbacd9334caede10f1b21d42cdf7e1efcd03 (patch) | |
tree | def2baead68de5a9ccc842e25b3cdcfe9a638c9b /src/resources/monsterinfo.h | |
parent | e7f4e78f76972ca3882b9d2763ae9cab31675d3a (diff) | |
download | mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.gz mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.bz2 mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.xz mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.zip |
Style cleanups throughout most of the code. Splitting function type from
the function names should no longer be around.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/resources/monsterinfo.h')
-rw-r--r-- | src/resources/monsterinfo.h | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/src/resources/monsterinfo.h b/src/resources/monsterinfo.h index 05a78c5a..8d36cc06 100644 --- a/src/resources/monsterinfo.h +++ b/src/resources/monsterinfo.h @@ -56,43 +56,35 @@ class MonsterInfo */ ~MonsterInfo(); - void - setName(std::string name) { mName = name; } + void setName(std::string name) { mName = name; } - void - addSprite(std::string filename) { mSprites.push_back(filename); } + void addSprite(std::string filename) { mSprites.push_back(filename); } - void - setTargetCursorSize(Being::TargetCursorSize targetCursorSize) + void setTargetCursorSize(Being::TargetCursorSize targetCursorSize) { mTargetCursorSize = targetCursorSize; } - void - addSound(MonsterSoundEvent event, std::string filename); + void addSound(MonsterSoundEvent event, std::string filename); - void - addParticleEffect(std::string filename); + void addParticleEffect(std::string filename); - const std::string& - getName() const { return mName; } + const std::string& getName() const + { return mName; } - const std::list<std::string>& - getSprites() const { return mSprites; } + const std::list<std::string>& getSprites() const + { return mSprites; } - Being::TargetCursorSize - getTargetCursorSize() const { return mTargetCursorSize; } + Being::TargetCursorSize getTargetCursorSize() const + { return mTargetCursorSize; } - std::string - getSound(MonsterSoundEvent event) const; + std::string getSound(MonsterSoundEvent event) const; - std::string - getAttackParticleEffect() const { return mAttackParticle; } + std::string getAttackParticleEffect() const { return mAttackParticle; } - void - addAttackParticleEffect(const std::string &particleEffect) + void addAttackParticleEffect(const std::string &particleEffect) { mAttackParticle = particleEffect; } - const std::list<std::string>& - getParticleEffects() const { return mParticleEffects; } + const std::list<std::string>& getParticleEffects() const + { return mParticleEffects; } private: std::string mName; |