Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10067 in orxonox.OLD for branches/heathaze/src/proto


Ignore:
Timestamp:
Dec 13, 2006, 3:39:43 PM (18 years ago)
Author:
snellen
Message:

adapted the proto_world_entity.* to the classlistframework, start implementation of heathaze

Location:
branches/heathaze/src/proto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/heathaze/src/proto/proto_world_entity.cc

    r9406 r10067  
    1616#include "proto_world_entity.h"
    1717
    18 
     18ObjectListDefinition(ProtoWorldEntity);
    1919
    2020
     
    2525ProtoWorldEntity::ProtoWorldEntity(const TiXmlElement* root)
    2626{
     27  this->registerObject(this, ProtoWorldEntity::_objectList);
    2728  this->init();
    2829  if (root != NULL)
     
    4647void ProtoWorldEntity::init()
    4748{
    48   this->setClassID(CL_PROTO_WORLD_ENTITY, "ProtoWorldEntity");
    49 
    50   /**
    51    * @todo: Write CL_PROTO_WORLD_ENTITY INTO THE src/defs/class_id.h (your own definition)
    52    */
    53 
     49 
    5450}
    5551
  • branches/heathaze/src/proto/proto_world_entity.h

    r6512 r10067  
    1212class ProtoWorldEntity : public WorldEntity
    1313{
     14
     15 ObjectListDeclaration(ProtoWorldEntity);
    1416
    1517 public:
Note: See TracChangeset for help on using the changeset viewer.