Changeset 9691 in orxonox.OLD for branches/new_class_id/src/world_entities
- Timestamp:
- Aug 22, 2006, 11:45:21 PM (18 years ago)
- 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 41 41 SHELL_COMMAND_STATIC(orxoWeapon, Playable, Playable::addSomeWeapons_CHEAT) 42 42 ->setAlias("orxoWeapon"); 43 43 NewObjectListDefinition(Playable) 44 44 45 45 Playable::Playable() … … 48 48 playmode(Playable::Full3D) 49 49 { 50 this-> setClassID(CL_PLAYABLE, "Playable");50 this->registerObject(this, Playable::_classID); 51 51 PRINTF(4)("PLAYABLE INIT\n"); 52 52 -
branches/new_class_id/src/world_entities/playable.h
r9656 r9691 27 27 class Playable : public WorldEntity, public Extendable 28 28 { 29 NewObjectListDeclaration(Playable); 29 30 public: 30 31 //! Defines the Playmode of an Entity.
Note: See TracChangeset
for help on using the changeset viewer.