summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-15 13:22:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-15 13:22:40 +0300
commit35dff83d93c36cd294f1899b1530da88a80b8917 (patch)
treec33b40350d3e45a201402982db7925b6c988328e /src/being/being.h
parent8ef332195f82d30f70435b69ba485640a19d80ed (diff)
downloadplus-35dff83d93c36cd294f1899b1530da88a80b8917.tar.gz
plus-35dff83d93c36cd294f1899b1530da88a80b8917.tar.bz2
plus-35dff83d93c36cd294f1899b1530da88a80b8917.tar.xz
plus-35dff83d93c36cd294f1899b1530da88a80b8917.zip
Allow to shop buy board name on beings.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h6
1 files changed, 6 insertions, 0 deletions
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<Being*> mPets;
Being *mOwner;