Changeset 7041 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Feb 6, 2006, 1:29:20 AM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/Makefile.am
r7028 r7041 62 62 world_entities/environments/water.cc \ 63 63 world_entities/environments/model_entity.cc \ 64 world_entities/environments/building.cc \ 64 65 \ 65 66 world_entities/elements/image_entity.cc \ … … 124 125 world_entities/environments/water.h \ 125 126 world_entities/environments/model_entity.h \ 127 world_entities/environments/building.h \ 126 128 \ 127 129 world_entities/elements/image_entity.h \ -
trunk/src/world_entities/environments/building.cc
r7040 r7041 16 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 17 17 18 #include " model_entity.h"18 #include "building.h" 19 19 20 20 #include "load_param.h" … … 24 24 25 25 26 CREATE_FACTORY( ModelEntity, CL_MODEL_ENTITY);26 CREATE_FACTORY(Building, CL_BUILDING); 27 27 28 28 /** 29 29 * initializes a skybox from a XmlElement 30 30 */ 31 ModelEntity::ModelEntity(const TiXmlElement* root)31 Building::Building(const TiXmlElement* root) 32 32 { 33 this->setClassID(CL_ MODEL_ENTITY, "ModelEntity");33 this->setClassID(CL_BUILDING, "Building"); 34 34 this->toList(OM_ENVIRON_NOTICK); 35 35 … … 42 42 * default destructor 43 43 */ 44 ModelEntity::~ModelEntity()44 Building::~Building() 45 45 { 46 46 } -
trunk/src/world_entities/environments/building.h
r7040 r7041 1 1 /*! 2 * @file model_entity.h3 * Definition of the ModelEntity, that handles the Display of an atmosphere for orxonox.2 * @file building.h 3 * Definition of the Building, that handles the Display of an atmosphere for orxonox. 4 4 */ 5 5 6 #ifndef _ MODEL_ENTITY_H7 #define _ MODEL_ENTITY_H6 #ifndef _BUILDING_H 7 #define _BUILDING_H 8 8 9 9 /* INCLUDES */ … … 12 12 /* FORWARD DECLARATION */ 13 13 14 //! A Class to handle a ModelEntity15 class ModelEntity: public WorldEntity14 //! A Class to handle a Building 15 class Building : public WorldEntity 16 16 { 17 17 public: 18 ModelEntity(const TiXmlElement* root);18 Building(const TiXmlElement* root); 19 19 20 virtual ~ ModelEntity();20 virtual ~Building(); 21 21 22 22 }; 23 23 24 #endif /* _ MODEL_ENTITY_H */24 #endif /* _BUILDING_H */ 25 25 26 26
Note: See TracChangeset
for help on using the changeset viewer.