Changeset 6442 in orxonox.OLD for trunk/src/world_entities/playable.cc
- Timestamp:
- Jan 8, 2006, 5:19:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.cc
r6436 r6442 25 25 Playable::Playable() 26 26 { 27 this->init(); 27 this->setClassID(CL_PLAYABLE, "Playable"); 28 PRINTF(4)("PLAYABLE INIT\n"); 29 30 this->toList(OM_GROUP_01); 31 this->weaponMan = new WeaponManager(this); 32 33 // the reference to the Current Player is NULL, because we dont have one at the beginning. 34 this->currentPlayer = NULL; 28 35 } 29 36 … … 39 46 } 40 47 41 /**42 * initializes this Playable43 */44 void Playable::init()45 {46 this->setClassID(CL_PLAYABLE, "Playable");47 PRINTF(4)("PLAYABLE INIT\n");48 49 this->toList(OM_GROUP_01);50 this->weaponMan = new WeaponManager(this);51 52 // the reference to the Current Player is NULL, because we dont have one at the beginning.53 this->currentPlayer = NULL;54 }55 48 56 49 /**
Note: See TracChangeset
for help on using the changeset viewer.