From 35dff83d93c36cd294f1899b1530da88a80b8917 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Feb 2015 13:22:40 +0300 Subject: Allow to shop buy board name on beings. --- src/being/being.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index e0fd0f044..a6b588919 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -918,6 +918,11 @@ class Being notfinal : public ActorSprite, std::string getSellBoard() const A_WARN_UNUSED { return mSellBoard; } + void setBuyBoard(const std::string &text); + + std::string getBuyBoard() const A_WARN_UNUSED + { return mBuyBoard; } + protected: /** * Updates name's location. @@ -1033,6 +1038,7 @@ class Being notfinal : public ActorSprite, int *mSpriteHide; int *mSpriteDraw; std::string mComment; + std::string mBuyBoard; std::string mSellBoard; std::vector mPets; Being *mOwner; -- cgit v1.2.3-60-g2f50