Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9691 in orxonox.OLD for branches/new_class_id/src/world_entities


Ignore:
Timestamp:
Aug 22, 2006, 11:45:21 PM (18 years ago)
Author:
bensch
Message:

new_class_id: adapted Network

Location:
branches/new_class_id/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/playable.cc

    r9656 r9691  
    4141SHELL_COMMAND_STATIC(orxoWeapon, Playable, Playable::addSomeWeapons_CHEAT)
    4242  ->setAlias("orxoWeapon");
    43 
     43NewObjectListDefinition(Playable)
    4444
    4545Playable::Playable()
     
    4848    playmode(Playable::Full3D)
    4949{
    50   this->setClassID(CL_PLAYABLE, "Playable");
     50  this->registerObject(this, Playable::_classID);
    5151  PRINTF(4)("PLAYABLE INIT\n");
    5252
  • branches/new_class_id/src/world_entities/playable.h

    r9656 r9691  
    2727class Playable : public WorldEntity, public Extendable
    2828{
     29  NewObjectListDeclaration(Playable);
    2930public:
    3031  //! Defines the Playmode of an Entity.
Note: See TracChangeset for help on using the changeset viewer.