Changeset 9709 in orxonox.OLD for branches/new_class_id/src/world_entities/character_attributes.cc
- Timestamp:
- Aug 31, 2006, 10:51:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/character_attributes.cc
r9406 r9709 1 1 2 2 3 /* 3 /* 4 4 orxonox - the future of 3D-vertical-scrollers 5 5 … … 18 18 19 19 #include "character_attributes.h" 20 #include "stdincl.h" 21 22 20 21 22 NewObjectListDefinition(CharacterAttributes); 23 23 24 24 … … 27 27 @todo this constructor is not jet implemented - do it 28 28 */ 29 CharacterAttributes::CharacterAttributes () 30 { 31 this->setClassID(CL_CHARACTER_ATTRIBUTES, "CharacterAttributes");29 CharacterAttributes::CharacterAttributes () 30 { 31 this->registerObject(this, CharacterAttributes::_objectList); 32 32 } 33 33 … … 37 37 38 38 */ 39 CharacterAttributes::~CharacterAttributes () 39 CharacterAttributes::~CharacterAttributes () 40 40 { 41 41 } … … 97 97 98 98 /** 99 * sets maximum health 99 * sets maximum health 100 100 * @param health 101 101 … … 130 130 * adds shield strength 131 131 * @param strength 132 132 133 133 there is currently no limit to shieldstrength 134 134 */ … … 290 290 /*=====================energy=====================*/ 291 291 /** 292 * sets the amount of energy 292 * sets the amount of energy 293 293 * @param energy 294 294 */ … … 332 332 333 333 /** 334 * gets the amount of energy 334 * gets the amount of energy 335 335 * @returns energy 336 336 */ … … 358 358 return this->energyConsumption; 359 359 } 360 360 361 361 362 362 /**
Note: See TracChangeset
for help on using the changeset viewer.