summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 7c114cd9..a2d977db 100644
--- a/src/being.h
+++ b/src/being.h
@@ -189,6 +189,12 @@ class Being : public Sprite
setName(const std::string &name) { mName = name; }
/**
+ * Sets visible equipments for this being.
+ */
+ virtual void
+ setSprite(int slot, int id, const std::string &color = "");
+
+ /**
* Makes this being take the next step of his path.
*/
virtual void
@@ -349,6 +355,8 @@ class Being : public Sprite
Sint32 mPx, mPy; /**< Pixel coordinates */
std::vector<AnimatedSprite*> mSprites;
+ std::vector<int> mSpriteIDs;
+ std::vector<std::string> mSpriteColors;
std::list<Particle *> mChildParticleEffects;
private: