Changeset 9709 in orxonox.OLD for branches/new_class_id/src/world_entities/elements
- Timestamp:
- Aug 31, 2006, 10:51:08 PM (18 years ago)
- Location:
- branches/new_class_id/src/world_entities/elements
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/elements/image_entity.cc
r9406 r9709 30 30 31 31 32 CREATE_FACTORY(ImageEntity, CL_IMAGE_ENTITY); 32 #include "class_id.h" 33 NewObjectListDefinitionID(ImageEntity, CL_IMAGE_ENTITY); 34 CREATE_FACTORY(ImageEntity); 33 35 34 36 … … 59 61 void ImageEntity::init() 60 62 { 61 this-> setClassID(CL_IMAGE_ENTITY, "ImageEntity");63 this->registerObject(this, ImageEntity::_objectList); 62 64 this->setName("ImageEntity"); 63 65 -
branches/new_class_id/src/world_entities/elements/image_entity.h
r7751 r9709 21 21 //! A class that enables the 22 22 class ImageEntity : public PNode, public Element2D { 23 NewObjectListDeclaration(ImageEntity); 23 24 24 25 public: -
branches/new_class_id/src/world_entities/elements/text_element.cc
r9406 r9709 27 27 28 28 29 30 CREATE_FACTORY(TextElement, CL_TEXT_ELEMENT); 29 #include "class_id.h" 30 NewObjectListDefinitionID(TextElement, CL_TEXT_ELEMENT); 31 CREATE_FACTORY(TextElement); 31 32 32 33 … … 36 37 TextElement::TextElement (const TiXmlElement* root) 37 38 { 38 this-> setClassID(CL_TEXT_ELEMENT, "TextElement");39 this->registerObject(this, TextElement::_objectList); 39 40 this->setName("TextElement"); 40 41 -
branches/new_class_id/src/world_entities/elements/text_element.h
r7221 r9709 21 21 //! A class that enables the 22 22 class TextElement : public Text { 23 NewObjectListDeclaration(TextElement); 23 24 24 25 public:
Note: See TracChangeset
for help on using the changeset viewer.