Changeset 265 for trunk/src/game/Creature.h
- Timestamp:
- 11/21/08 08:48:46 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Creature.h
r260 r265 427 427 bool canSwim() const { return GetCreatureInfo()->InhabitType & INHABIT_WATER; } 428 428 bool canFly() const { return GetCreatureInfo()->InhabitType & INHABIT_AIR; } 429 bool isAggressive() const { return m_isAggressive; } 430 void SetAggressive(bool agg) { m_isAggressive = agg; } 429 431 ///// TODO RENAME THIS!!!!! 430 432 bool isCanTrainingOf(Player* player, bool msg) const; … … 637 639 bool m_isPet; // set only in Pet::Pet 638 640 bool m_isTotem; // set only in Totem::Totem 641 bool m_isAggressive; 639 642 void RegenerateMana(); 640 643 void RegenerateHealth();