summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-06-08 21:55:16 -0600
committerJared Adams <jaxad0127@gmail.com>2010-06-09 00:00:53 -0600
commitec980b3c586fc64d02ad02f31497013908056d52 (patch)
treec8a5c573bf8fc5ed2151f32cb7f8468bba31d72a /src/being.h
parent891d14807cd042aa90aed94558c2c8eda66d6859 (diff)
downloadmana-client-ec980b3c586fc64d02ad02f31497013908056d52.tar.gz
mana-client-ec980b3c586fc64d02ad02f31497013908056d52.tar.bz2
mana-client-ec980b3c586fc64d02ad02f31497013908056d52.tar.xz
mana-client-ec980b3c586fc64d02ad02f31497013908056d52.zip
Remove hard-coded frame counts from Being class
Also removes the Monster/Player difference in tmwAthena's Being::logic and moves the particle code from Being::setAttack to Being::Logic for tmwAthena. Reviewed-by: Chuck Miller
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/being.h b/src/being.h
index 76b50dec..4e7016c1 100644
--- a/src/being.h
+++ b/src/being.h
@@ -398,16 +398,6 @@ class Being : public ActorSprite, public ConfigListener
void setDirection(Uint8 direction);
/**
- * Returns the being's current sprite frame number.
- */
- int getCurrentFrame() const { return mFrame; }
-
- /**
- * Set the being's current sprite frame number.
- */
- void setFrame(int frame) { mFrame = frame; }
-
- /**
* Returns the direction the being is facing.
*/
SpriteDirection getSpriteDirection() const
@@ -451,7 +441,6 @@ class Being : public ActorSprite, public ConfigListener
*/
const Path &getPath() const { return mPath; }
-
/**
* Set the Emoticon type and time displayed above
* the being.
@@ -521,9 +510,6 @@ class Being : public ActorSprite, public ConfigListener
BeingInfo *mInfo;
- /** The current sprite Frame number to be displayed */
- int mFrame;
-
/** Used to trigger the nextStep (walking on next Tile)
* TODO: Used by eAthena only?
*/