diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-16 08:36:33 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-16 08:36:33 -0700 |
commit | 50335c6b1470c45753d720cebdf4af830ba7a46c (patch) | |
tree | b18dd0bbc7f11e70860a617e9db597fd243b3283 /src/being.h | |
parent | 29a65dd896255e6e173201dcc0d50bfc273afb61 (diff) | |
download | mana-50335c6b1470c45753d720cebdf4af830ba7a46c.tar.gz mana-50335c6b1470c45753d720cebdf4af830ba7a46c.tar.bz2 mana-50335c6b1470c45753d720cebdf4af830ba7a46c.tar.xz mana-50335c6b1470c45753d720cebdf4af830ba7a46c.zip |
Made emotes load in only one location, as well as fixing the code on the
being so that the last emote draws (which got broken).
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 4534b1ea..6dbcdfdd 100644 --- a/src/being.h +++ b/src/being.h @@ -351,6 +351,8 @@ class Being : public Sprite */ void controlParticle(Particle *particle); + AnimatedSprite* getEmote(int index) { return emotionSet[index]; } + void setEmote(Uint8 emotion, Uint8 emote_time) { mEmotion = emotion; |