ManaPlus
beinginfo.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  *
7  * This file is part of The ManaPlus Client.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef RESOURCES_BEINGINFO_H
24 #define RESOURCES_BEINGINFO_H
25 
27 
29 
32 
34 #include "resources/cursors.h"
35 #include "resources/soundinfo.h"
36 
38 
39 struct Attack;
40 
42 
43 typedef std::map<int, Attack*> Attacks;
44 
53 {
54  public:
55  static BeingInfo *unknown;
56  static Attack *empty;
57 
58  BeingInfo();
59 
61 
62  ~BeingInfo();
63 
64  void setName(const std::string &name)
65  { mName = name; }
66 
67  const std::string &getName() const noexcept2 A_WARN_UNUSED
68  { return mName; }
69 
70  void setDisplay(const SpriteDisplay &display);
71 
73  { return mDisplay; }
74 
75  void setTargetCursorSize(const std::string &size);
76 
77  void setTargetCursorSize(const TargetCursorSizeT &targetSize)
78  { mTargetCursorSize = targetSize; }
79 
80  void setHoverCursor(const std::string &name)
81  { return setHoverCursor(Cursors::stringToCursor(name)); }
82 
83  void setHoverCursor(const CursorT &cursor)
84  { mHoverCursor = cursor; }
85 
87  { return mHoverCursor; }
88 
90  { return mTargetCursorSize; }
91 
92  void addSound(const ItemSoundEvent::Type event,
93  const std::string &filename,
94  const int delay);
95 
96  const SoundInfo &getSound(const ItemSoundEvent::Type event)
97  const A_WARN_UNUSED;
98 
99  void addAttack(const int id,
100  const std::string &action,
101  const std::string &skyAttack,
102  const std::string &waterAttack,
103  const std::string &rideAttack,
104  const int effectId,
105  const int hitEffectId,
106  const int criticalHitEffectId,
107  const int missEffectId,
108  const std::string &missileParticle,
109  const float missileZ,
110  const float missileSpeed,
111  const float missileDieDistance,
112  const int missileLifeTime);
113 
114  const Attack *getAttack(const int id) const A_WARN_UNUSED;
115 
116  void setBlockWalkMask(const unsigned char mask)
117  { mBlockWalkMask = mask; }
118 
123  { return mBlockWalkMask; }
124 
125  void setBlockType(const BlockTypeT &blockType)
126  { mBlockType = blockType; }
127 
129  { return mBlockType; }
130 
131  void setTargetOffsetX(const int n)
132  { mTargetOffsetX = n; }
133 
135  { return mTargetOffsetX; }
136 
137  void setTargetOffsetY(const int n)
138  { mTargetOffsetY = n; }
139 
141  { return mTargetOffsetY; }
142 
143  void setNameOffsetX(const int n)
144  { mNameOffsetX = n; }
145 
147  { return mNameOffsetX; }
148 
149  void setNameOffsetY(const int n)
150  { mNameOffsetY = n; }
151 
153  { return mNameOffsetY; }
154 
155  void setHpBarOffsetX(const int n)
156  { mHpBarOffsetX = n; }
157 
159  { return mHpBarOffsetX; }
160 
161  void setHpBarOffsetY(const int n)
162  { mHpBarOffsetY = n; }
163 
165  { return mHpBarOffsetY; }
166 
167  void setMaxHP(const int n)
168  { mMaxHP = n; }
169 
171  { return mMaxHP; }
172 
174  { return mStaticMaxHP; }
175 
176  void setStaticMaxHP(const bool n)
177  { mStaticMaxHP = n; }
178 
179  void setTargetSelection(const bool n)
180  { mTargetSelection = n; }
181 
183  { return mTargetSelection; }
184 
186  { return mSortOffsetY; }
187 
188  void setSortOffsetY(const int n)
189  { mSortOffsetY = n; }
190 
192  { return mDeadSortOffsetY; }
193 
194  void setDeadSortOffsetY(const int n)
195  { mDeadSortOffsetY = n; }
196 
198  { return mAvatarId; }
199 
200  void setAvatarId(const BeingTypeId id)
201  { mAvatarId = id; }
202 
204  { return mWidth; }
205 
207  { return mHeight; }
208 
209  void setWidth(const int n)
210  { mWidth = n; }
211 
212  void setHeight(const int n)
213  { mHeight = n; }
214 
215  void setStartFollowDist(const int n)
216  { mStartFollowDist = n; }
217 
219  { return mStartFollowDist; }
220 
221  void setFollowDist(const int n)
222  { mFollowDist = n; }
223 
225  { return mFollowDist; }
226 
227  void setWalkSpeed(const int n)
228  { mWalkSpeed = n; }
229 
231  { return mWalkSpeed; }
232 
233  void setWarpDist(const int n)
234  { mWarpDist = n; }
235 
237  { return mWarpDist; }
238 
239  void setSitOffsetX(const int n)
240  { mSitOffsetX = n; }
241 
243  { return mSitOffsetX; }
244 
245  void setSitOffsetY(const int n)
246  { mSitOffsetY = n; }
247 
249  { return mSitOffsetY; }
250 
251  void setMoveOffsetX(const int n)
252  { mMoveOffsetX = n; }
253 
255  { return mMoveOffsetX; }
256 
257  void setMoveOffsetY(const int n)
258  { mMoveOffsetY = n; }
259 
261  { return mMoveOffsetY; }
262 
263  void setDeadOffsetX(const int n)
264  { mDeadOffsetX = n; }
265 
267  { return mDeadOffsetX; }
268 
269  void setDeadOffsetY(const int n)
270  { mDeadOffsetY = n; }
271 
273  { return mDeadOffsetY; }
274 
275  void setAttackOffsetX(const int n)
276  { mAttackOffsetX = n; }
277 
279  { return mAttackOffsetX; }
280 
281  void setAttackOffsetY(const int n)
282  { mAttackOffsetY = n; }
283 
285  { return mAttackOffsetY; }
286 
287  void setThinkTime(const int n)
288  { mThinkTime = n; }
289 
291  { return mThinkTime; }
292 
293  void setDirectionType(const int n)
294  { mDirectionType = n; }
295 
297  { return mDirectionType; }
298 
299  void setSitDirectionType(const int n)
300  { mSitDirectionType = n; }
301 
303  { return mSitDirectionType; }
304 
305  void setDeadDirectionType(const int n)
306  { mDeadDirectionType = n; }
307 
309  { return mDeadDirectionType; }
310 
311  void setAttackDirectionType(const int n)
312  { mAttackDirectionType = n; }
313 
315  { return mAttackDirectionType; }
316 
317  void setAllowDelete(const bool b)
318  { mAllowDelete = b; }
319 
321  { return static_cast<int>(mAllowDelete); }
322 
323  void setAllowEquipment(const bool b)
324  { mAllowEquipment = b; }
325 
327  { return mAllowEquipment; }
328 
329  void setQuickActionEffectId(const int n)
330  { mQuickActionEffectId = n; }
331 
333  { return mQuickActionEffectId; }
334 
335  void setColorsList(const std::string &name);
336 
337  std::string getColor(const ItemColor idx) const A_WARN_UNUSED;
338 
339  void addMenu(const std::string &name, const std::string &command);
340 
341  const STD_VECTOR<BeingMenuItem> &getMenu() const A_CONST;
342 
343  void setString(const int idx,
344  const std::string &value)
345  { mStrings[idx] = value; }
346 
347  std::string getString(const int idx) const A_WARN_UNUSED;
348 
349  std::string getCurrency() const A_WARN_UNUSED
350  { return mCurrency; }
351 
352  void setCurrency(const std::string &name)
353  { mCurrency = name; }
354 
355  static void init();
356 
357  static void clear();
358 
359  private:
361  std::string mName;
366  STD_VECTOR<BeingMenuItem> mMenu;
367  std::map<int, std::string> mStrings;
368  std::string mCurrency;
369  unsigned char mBlockWalkMask;
371  const std::map <ItemColor, ItemColorData> *mColors;
378  int mMaxHP;
382  int mWidth;
383  int mHeight;
406 };
407 
408 typedef std::map<BeingTypeId, BeingInfo*> BeingInfos;
409 typedef BeingInfos::iterator BeingInfoIterator;
410 
411 #endif // RESOURCES_BEINGINFO_H
BeingInfo::getQuickActionEffectId
int getQuickActionEffectId() const
Definition: beinginfo.h:332
BeingInfo::mHoverCursor
CursorT mHoverCursor
Definition: beinginfo.h:363
BeingInfos
std::map< BeingTypeId, BeingInfo * > BeingInfos
Definition: beinginfo.h:408
BeingInfo::setAttackOffsetY
void setAttackOffsetY(const int n)
Definition: beinginfo.h:281
BeingInfo::setDisplay
void setDisplay(const SpriteDisplay &display)
Definition: beinginfo.cpp:126
BeingInfo::getHpBarOffsetX
int getHpBarOffsetX() const
Definition: beinginfo.h:158
BeingInfo::mDeadSortOffsetY
int mDeadSortOffsetY
Definition: beinginfo.h:380
ItemColorData
Definition: itemcolordata.h:31
BeingInfo::setMoveOffsetY
void setMoveOffsetY(const int n)
Definition: beinginfo.h:257
BeingInfo::getAttackOffsetY
int getAttackOffsetY() const
Definition: beinginfo.h:284
BeingInfo::mStaticMaxHP
bool mStaticMaxHP
Definition: beinginfo.h:402
BeingInfo::setTargetOffsetX
void setTargetOffsetX(const int n)
Definition: beinginfo.h:131
BeingInfo::mMaxHP
int mMaxHP
Definition: beinginfo.h:378
BeingInfo::setQuickActionEffectId
void setQuickActionEffectId(const int n)
Definition: beinginfo.h:329
BeingInfo::setSitOffsetX
void setSitOffsetX(const int n)
Definition: beinginfo.h:239
BeingInfo::getAvatarId
BeingTypeId getAvatarId() const
Definition: beinginfo.h:197
BeingInfo::getTargetCursorSize
TargetCursorSizeT getTargetCursorSize() const
Definition: beinginfo.h:89
Cursors::stringToCursor
CursorT stringToCursor(const std::string &name)
Definition: cursors.cpp:59
BeingInfo::mTargetOffsetY
int mTargetOffsetY
Definition: beinginfo.h:373
BeingInfo::mDirectionType
int mDirectionType
Definition: beinginfo.h:397
BeingInfo::setSitOffsetY
void setSitOffsetY(const int n)
Definition: beinginfo.h:245
BeingInfo::setMaxHP
void setMaxHP(const int n)
Definition: beinginfo.h:167
BeingInfo::getTargetOffsetX
int getTargetOffsetX() const
Definition: beinginfo.h:134
beingtypeid.h
BeingInfo
Definition: beinginfo.h:52
BeingInfo::mColors
const std::map< ItemColor, ItemColorData > * mColors
Definition: beinginfo.h:371
BeingInfo::setTargetCursorSize
void setTargetCursorSize(const std::string &size)
Definition: beinginfo.cpp:131
BeingInfo::getDeadSortOffsetY
int getDeadSortOffsetY() const
Definition: beinginfo.h:191
BeingInfo::getString
std::string getString(const int idx) const
Definition: beinginfo.cpp:263
BeingInfo::mAllowDelete
bool mAllowDelete
Definition: beinginfo.h:404
BeingInfo::setHpBarOffsetX
void setHpBarOffsetX(const int n)
Definition: beinginfo.h:155
BeingInfo::getFollowDist
int getFollowDist() const
Definition: beinginfo.h:224
BeingInfo::setHoverCursor
void setHoverCursor(const CursorT &cursor)
Definition: beinginfo.h:83
BeingTypeId
int BeingTypeId
Definition: beingtypeid.h:29
BeingInfo::getTargetOffsetY
int getTargetOffsetY() const
Definition: beinginfo.h:140
BeingInfo::getWarpDist
int getWarpDist() const
Definition: beinginfo.h:236
A_DELETE_COPY
#define A_DELETE_COPY(func)
Definition: localconsts.h:52
BeingInfo::getBlockWalkMask
unsigned char getBlockWalkMask() const
Definition: beinginfo.h:122
ItemSoundEvent::Type
Type
Definition: itemsoundevent.h:26
BeingInfo::mCurrency
std::string mCurrency
Definition: beinginfo.h:368
BeingInfo::setStartFollowDist
void setStartFollowDist(const int n)
Definition: beinginfo.h:215
BeingInfo::mSitDirectionType
int mSitDirectionType
Definition: beinginfo.h:398
BeingInfo::setTargetOffsetY
void setTargetOffsetY(const int n)
Definition: beinginfo.h:137
BeingInfo::mQuickActionEffectId
int mQuickActionEffectId
Definition: beinginfo.h:401
BeingInfo::setDirectionType
void setDirectionType(const int n)
Definition: beinginfo.h:293
BeingInfo::setAttackDirectionType
void setAttackDirectionType(const int n)
Definition: beinginfo.h:311
BeingInfo::init
static void init()
Definition: beinginfo.cpp:222
BeingInfo::setNameOffsetX
void setNameOffsetX(const int n)
Definition: beinginfo.h:143
BeingInfo::setWarpDist
void setWarpDist(const int n)
Definition: beinginfo.h:233
BeingInfo::getDeadDirectionType
int getDeadDirectionType() const
Definition: beinginfo.h:308
BeingInfo::getThinkTime
int getThinkTime() const
Definition: beinginfo.h:290
BeingInfo::getHpBarOffsetY
int getHpBarOffsetY() const
Definition: beinginfo.h:164
BeingInfo::mBlockWalkMask
unsigned char mBlockWalkMask
Definition: beinginfo.h:369
BeingInfo::mSortOffsetY
int mSortOffsetY
Definition: beinginfo.h:379
spritedisplay.h
BeingInfo::setWalkSpeed
void setWalkSpeed(const int n)
Definition: beinginfo.h:227
BeingInfo::getDeadOffsetX
int getDeadOffsetX() const
Definition: beinginfo.h:266
TargetCursorSizeT
TargetCursorSize ::T TargetCursorSizeT
Definition: targetcursorsize.h:34
BeingInfo::isTargetSelection
bool isTargetSelection() const
Definition: beinginfo.h:182
BeingInfo::setCurrency
void setCurrency(const std::string &name)
Definition: beinginfo.h:352
Attack
Definition: attack.h:28
BeingInfo::mSounds
ItemSoundEvents mSounds
Definition: beinginfo.h:364
BeingInfo::getSitOffsetY
int getSitOffsetY() const
Definition: beinginfo.h:248
BeingInfo::mSitOffsetY
int mSitOffsetY
Definition: beinginfo.h:389
BeingInfo::setAllowEquipment
void setAllowEquipment(const bool b)
Definition: beinginfo.h:323
BeingInfo::getDeadOffsetY
int getDeadOffsetY() const
Definition: beinginfo.h:272
BeingInfo::setColorsList
void setColorsList(const std::string &name)
Definition: beinginfo.cpp:233
BeingInfo::mMenu
std::vector< BeingMenuItem > mMenu
Definition: beinginfo.h:366
noexcept2
#define noexcept2
Definition: localconsts.h:49
BeingInfo::empty
static Attack * empty
Definition: beinginfo.h:56
BeingInfo::getDisplay
const SpriteDisplay & getDisplay() const
Definition: beinginfo.h:72
BeingInfo::getHeight
int getHeight() const
Definition: beinginfo.h:206
BeingInfo::setHeight
void setHeight(const int n)
Definition: beinginfo.h:212
BeingInfo::~BeingInfo
~BeingInfo()
Definition: beinginfo.cpp:118
BeingInfo::clear
static void clear()
Definition: beinginfo.cpp:216
BeingInfo::mMoveOffsetX
int mMoveOffsetX
Definition: beinginfo.h:390
Attacks
std::map< int, Attack * > Attacks
Definition: beinginfo.h:41
final
#define final
Definition: localconsts.h:45
BeingInfo::getSortOffsetY
int getSortOffsetY() const
Definition: beinginfo.h:185
BeingInfo::setThinkTime
void setThinkTime(const int n)
Definition: beinginfo.h:287
BeingInfo::mSitOffsetX
int mSitOffsetX
Definition: beinginfo.h:388
BeingInfo::mWalkSpeed
int mWalkSpeed
Definition: beinginfo.h:387
BeingInfo::setString
void setString(const int idx, const std::string &value)
Definition: beinginfo.h:343
BeingInfo::setAttackOffsetX
void setAttackOffsetX(const int n)
Definition: beinginfo.h:275
BeingInfo::setTargetSelection
void setTargetSelection(const bool n)
Definition: beinginfo.h:179
BeingInfo::setNameOffsetY
void setNameOffsetY(const int n)
Definition: beinginfo.h:149
itemcolor.h
SoundInfo
Definition: soundinfo.h:33
BeingInfo::setSortOffsetY
void setSortOffsetY(const int n)
Definition: beinginfo.h:188
BeingInfo::getStartFollowDist
int getStartFollowDist() const
Definition: beinginfo.h:218
BeingInfo::mAllowEquipment
bool mAllowEquipment
Definition: beinginfo.h:405
BeingInfo::mName
std::string mName
Definition: beinginfo.h:361
cursors.h
BeingInfo::getName
const std::string & getName() const
Definition: beinginfo.h:67
beingmenuitem.h
BeingInfo::mDeadOffsetX
int mDeadOffsetX
Definition: beinginfo.h:392
BeingInfo::setTargetCursorSize
void setTargetCursorSize(const TargetCursorSizeT &targetSize)
Definition: beinginfo.h:77
BeingInfo::isStaticMaxHP
bool isStaticMaxHP() const
Definition: beinginfo.h:173
BeingInfo::BeingInfo
BeingInfo()
Definition: beinginfo.cpp:60
BeingInfo::setDeadDirectionType
void setDeadDirectionType(const int n)
Definition: beinginfo.h:305
BlockTypeT
BlockType ::T BlockTypeT
Definition: blocktype.h:40
BeingInfo::getNameOffsetY
int getNameOffsetY() const
Definition: beinginfo.h:152
BeingInfo::mAvatarId
BeingTypeId mAvatarId
Definition: beinginfo.h:381
BeingInfo::setBlockWalkMask
void setBlockWalkMask(const unsigned char mask)
Definition: beinginfo.h:116
BeingInfo::getAllowDelete
int getAllowDelete() const
Definition: beinginfo.h:320
BeingInfo::getMaxHP
int getMaxHP() const
Definition: beinginfo.h:170
BeingInfo::mThinkTime
int mThinkTime
Definition: beinginfo.h:396
soundinfo.h
BeingInfo::getSitOffsetX
int getSitOffsetX() const
Definition: beinginfo.h:242
BeingInfo::getMoveOffsetX
int getMoveOffsetX() const
Definition: beinginfo.h:254
BeingInfo::mDisplay
SpriteDisplay mDisplay
Definition: beinginfo.h:360
BeingInfo::mHpBarOffsetY
int mHpBarOffsetY
Definition: beinginfo.h:377
BeingInfo::setDeadOffsetY
void setDeadOffsetY(const int n)
Definition: beinginfo.h:269
BeingInfo::getMenu
const std::vector< BeingMenuItem > & getMenu() const A_CONST
Definition: beinginfo.cpp:258
BeingInfo::mWarpDist
int mWarpDist
Definition: beinginfo.h:386
ItemColor
uint16_t ItemColor
Definition: itemcolor.h:29
targetcursorsize.h
BeingInfo::getCurrency
std::string getCurrency() const
Definition: beinginfo.h:349
SpriteDisplay
Definition: spritedisplay.h:32
BeingInfo::mTargetOffsetX
int mTargetOffsetX
Definition: beinginfo.h:372
BeingInfo::mTargetCursorSize
TargetCursorSizeT mTargetCursorSize
Definition: beinginfo.h:362
BeingInfo::mTargetSelection
bool mTargetSelection
Definition: beinginfo.h:403
BeingInfo::mAttackDirectionType
int mAttackDirectionType
Definition: beinginfo.h:400
BeingInfo::mMoveOffsetY
int mMoveOffsetY
Definition: beinginfo.h:391
BeingInfo::getHoverCursor
CursorT getHoverCursor() const
Definition: beinginfo.h:86
BeingInfo::getAllowEquipment
bool getAllowEquipment() const
Definition: beinginfo.h:326
BeingInfo::mDeadOffsetY
int mDeadOffsetY
Definition: beinginfo.h:393
BeingInfo::mAttacks
Attacks mAttacks
Definition: beinginfo.h:365
BeingInfo::mBlockType
BlockTypeT mBlockType
Definition: beinginfo.h:370
BeingInfo::setMoveOffsetX
void setMoveOffsetX(const int n)
Definition: beinginfo.h:251
BeingInfo::getAttack
const Attack * getAttack(const int id) const
Definition: beinginfo.cpp:179
EmoteDB::size
int size()
Definition: emotedb.cpp:305
BeingInfo::mHeight
int mHeight
Definition: beinginfo.h:383
BeingInfo::getWidth
int getWidth() const
Definition: beinginfo.h:203
BeingInfo::setDeadSortOffsetY
void setDeadSortOffsetY(const int n)
Definition: beinginfo.h:194
BeingInfo::getDirectionType
int getDirectionType() const
Definition: beinginfo.h:296
BeingInfo::setHpBarOffsetY
void setHpBarOffsetY(const int n)
Definition: beinginfo.h:161
BeingInfo::setFollowDist
void setFollowDist(const int n)
Definition: beinginfo.h:221
BeingInfo::getNameOffsetX
int getNameOffsetX() const
Definition: beinginfo.h:146
BeingInfo::addSound
void addSound(const ItemSoundEvent::Type event, const std::string &filename, const int delay)
Definition: beinginfo.cpp:153
BeingInfo::getAttackDirectionType
int getAttackDirectionType() const
Definition: beinginfo.h:314
BeingInfo::addAttack
void addAttack(const int id, const std::string &action, const std::string &skyAttack, const std::string &waterAttack, const std::string &rideAttack, const int effectId, const int hitEffectId, const int criticalHitEffectId, const int missEffectId, const std::string &missileParticle, const float missileZ, const float missileSpeed, const float missileDieDistance, const int missileLifeTime)
Definition: beinginfo.cpp:185
std
Definition: mseprimitives.h:398
BeingInfo::setHoverCursor
void setHoverCursor(const std::string &name)
Definition: beinginfo.h:80
BeingInfo::setAllowDelete
void setAllowDelete(const bool b)
Definition: beinginfo.h:317
BeingInfoIterator
BeingInfos::iterator BeingInfoIterator
Definition: beinginfo.h:409
BeingInfo::mStartFollowDist
int mStartFollowDist
Definition: beinginfo.h:384
BeingInfo::addMenu
void addMenu(const std::string &name, const std::string &command)
Definition: beinginfo.cpp:253
BeingInfo::mStrings
std::map< int, std::string > mStrings
Definition: beinginfo.h:367
BeingInfo::mAttackOffsetX
int mAttackOffsetX
Definition: beinginfo.h:394
blocktype.h
ItemSoundEvents
std::map< ItemSoundEvent::Type, SoundInfoVect * > ItemSoundEvents
Definition: soundinfo.h:49
BeingInfo::mFollowDist
int mFollowDist
Definition: beinginfo.h:385
A_WARN_UNUSED
#define A_WARN_UNUSED
Definition: localconsts.h:160
BeingInfo::unknown
static BeingInfo * unknown
Definition: beinginfo.h:55
BeingInfo::getAttackOffsetX
int getAttackOffsetX() const
Definition: beinginfo.h:278
BeingInfo::getColor
std::string getColor(const ItemColor idx) const
Definition: beinginfo.cpp:241
BeingInfo::setSitDirectionType
void setSitDirectionType(const int n)
Definition: beinginfo.h:299
BeingInfo::setAvatarId
void setAvatarId(const BeingTypeId id)
Definition: beinginfo.h:200
BeingInfo::setDeadOffsetX
void setDeadOffsetX(const int n)
Definition: beinginfo.h:263
BeingInfo::setStaticMaxHP
void setStaticMaxHP(const bool n)
Definition: beinginfo.h:176
BeingInfo::setWidth
void setWidth(const int n)
Definition: beinginfo.h:209
BeingInfo::mNameOffsetY
int mNameOffsetY
Definition: beinginfo.h:375
BeingInfo::mAttackOffsetY
int mAttackOffsetY
Definition: beinginfo.h:395
CursorT
Cursor ::T CursorT
Definition: cursor.h:43
BeingInfo::setName
void setName(const std::string &name)
Definition: beinginfo.h:64
BeingInfo::mNameOffsetX
int mNameOffsetX
Definition: beinginfo.h:374
BeingInfo::getMoveOffsetY
int getMoveOffsetY() const
Definition: beinginfo.h:260
BeingInfo::setBlockType
void setBlockType(const BlockTypeT &blockType)
Definition: beinginfo.h:125
BeingInfo::mDeadDirectionType
int mDeadDirectionType
Definition: beinginfo.h:399
BeingInfo::mWidth
int mWidth
Definition: beinginfo.h:382
BeingInfo::getBlockType
BlockTypeT getBlockType() const
Definition: beinginfo.h:128
BeingInfo::getSound
const SoundInfo & getSound(const ItemSoundEvent::Type event) const
Definition: beinginfo.cpp:164
BeingInfo::getWalkSpeed
int getWalkSpeed() const
Definition: beinginfo.h:230
BeingInfo::getSitDirectionType
int getSitDirectionType() const
Definition: beinginfo.h:302
BeingInfo::mHpBarOffsetX
int mHpBarOffsetX
Definition: beinginfo.h:376