summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-15 21:14:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-15 21:14:04 +0300
commit7b89705cc5c491b60dab923e2f8079cfc1f4bce1 (patch)
treea3a5ceb5a142b9b954eab23c39946b0825218169 /src/resources/beinginfo.h
parent8b22861c92f1cec3af31b8b9e97b16498b2d86d0 (diff)
downloadmv-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.gz
mv-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.bz2
mv-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.tar.xz
mv-7b89705cc5c491b60dab923e2f8079cfc1f4bce1.zip
Convert BlockType into strong typed enum.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h
index ad5f35a85..a4ee2a750 100644
--- a/src/resources/beinginfo.h
+++ b/src/resources/beinginfo.h
@@ -119,10 +119,10 @@ class BeingInfo final
unsigned char getBlockWalkMask() const A_WARN_UNUSED
{ return mBlockWalkMask; }
- void setBlockType(const BlockType::BlockType &blockType)
+ void setBlockType(const BlockTypeT &blockType)
{ mBlockType = blockType; }
- BlockType::BlockType getBlockType() const A_WARN_UNUSED
+ BlockTypeT getBlockType() const A_WARN_UNUSED
{ return mBlockType; }
void setTargetOffsetX(const int n)
@@ -338,7 +338,7 @@ class BeingInfo final
Attacks mAttacks;
std::vector<BeingMenuItem> mMenu;
unsigned char mBlockWalkMask;
- BlockType::BlockType mBlockType;
+ BlockTypeT mBlockType;
const std::map <ItemColor, ColorDB::ItemColorData> *mColors;
int mTargetOffsetX;
int mTargetOffsetY;