summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-04 10:00:06 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-04 10:00:06 -0600
commitdcb412dfc87c08f40d3b6841da1b60578665e328 (patch)
tree862187d8b1c5ee993c027ca8831299d0a28ea00a /src/being.h
parentd9c38594fcd8c653b95ac6bf8cf525ae21a13195 (diff)
downloadmana-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.gz
mana-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.bz2
mana-dcb412dfc87c08f40d3b6841da1b60578665e328.tar.xz
mana-dcb412dfc87c08f40d3b6841da1b60578665e328.zip
Do some refactoring of Being code
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/being.h b/src/being.h
index 1f9ada92..5869b879 100644
--- a/src/being.h
+++ b/src/being.h
@@ -229,15 +229,7 @@ class Being : public Sprite, public ConfigListener
/**
* Get the number of layers used to draw the being
*/
- int getNumberOfLayers() const
- { return mNumberOfLayers; }
-
- /**
- * Set the number of layers used to draw the being
- */
- void setNumberOfLayers(int numberOfLayers)
- { mNumberOfLayers = numberOfLayers; }
-
+ int getNumberOfLayers() const;
#ifdef EATHENA_SUPPORT
/**
@@ -557,12 +549,6 @@ class Being : public Sprite, public ConfigListener
Sprites mSprites;
float mAlpha; /**< Alpha opacity to draw the sprite */
- /** Stores the number of layers used to draw the being */
- int mNumberOfLayers;
-
- /** This method counts reliably the sprite layers currently used */
- void _updateNumberOfLayers();
-
ParticleList mStunParticleEffects;
ParticleVector mStatusParticleEffects;
ParticleList mChildParticleEffects;