Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6442 in orxonox.OLD for trunk/src/world_entities/playable.cc


Ignore:
Timestamp:
Jan 8, 2006, 5:19:39 PM (18 years ago)
Author:
bensch
Message:

Gui Shows weapons (simple)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/playable.cc

    r6436 r6442  
    2525Playable::Playable()
    2626{
    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;
    2835}
    2936
     
    3946}
    4047
    41 /**
    42  * initializes this Playable
    43  */
    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 }
    5548
    5649/**
Note: See TracChangeset for help on using the changeset viewer.