summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index d65feb5e..10411848 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -113,6 +113,12 @@ class BeingInfo
Map::BlockType getBlockType() const
{ return mBlockType; }
+ void setTargetSelection(bool n)
+ { mTargetSelection = n; }
+
+ bool isTargetSelection() const
+ { return mTargetSelection; }
+
private:
SpriteDisplay mDisplay;
std::string mName;
@@ -122,6 +128,7 @@ class BeingInfo
std::map<int, Attack> mAttacks;
unsigned char mWalkMask;
Map::BlockType mBlockType = Map::BLOCKTYPE_CHARACTER;
+ bool mTargetSelection = true;
};
#endif // BEINGINFO_H