Changeset 9869 in orxonox.OLD for trunk/src/world_entities/elements
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- Location:
- trunk/src/world_entities/elements
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/elements/image_entity.cc
r9406 r9869 30 30 31 31 32 CREATE_FACTORY(ImageEntity, CL_IMAGE_ENTITY); 32 #include "class_id_DEPRECATED.h" 33 ObjectListDefinitionID(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 -
trunk/src/world_entities/elements/image_entity.h
r7751 r9869 21 21 //! A class that enables the 22 22 class ImageEntity : public PNode, public Element2D { 23 ObjectListDeclaration(ImageEntity); 23 24 24 25 public: -
trunk/src/world_entities/elements/text_element.cc
r9406 r9869 27 27 28 28 29 30 CREATE_FACTORY(TextElement, CL_TEXT_ELEMENT); 29 #include "class_id_DEPRECATED.h" 30 ObjectListDefinitionID(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 -
trunk/src/world_entities/elements/text_element.h
r7221 r9869 21 21 //! A class that enables the 22 22 class TextElement : public Text { 23 ObjectListDeclaration(TextElement); 23 24 24 25 public:
Note: See TracChangeset
for help on using the changeset viewer.