Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7041 in orxonox.OLD for trunk/src/world_entities/environments


Ignore:
Timestamp:
Feb 6, 2006, 1:29:20 AM (19 years ago)
Author:
bensch
Message:

trunk: added new worldEntity Building

Location:
trunk/src/world_entities/environments
Files:
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/environments/building.cc

    r7040 r7041  
    1616#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
    1717
    18 #include "model_entity.h"
     18#include "building.h"
    1919
    2020#include "load_param.h"
     
    2424
    2525
    26 CREATE_FACTORY(ModelEntity, CL_MODEL_ENTITY);
     26CREATE_FACTORY(Building, CL_BUILDING);
    2727
    2828/**
    2929 *  initializes a skybox from a XmlElement
    3030*/
    31 ModelEntity::ModelEntity(const TiXmlElement* root)
     31Building::Building(const TiXmlElement* root)
    3232{
    33   this->setClassID(CL_MODEL_ENTITY, "ModelEntity");
     33  this->setClassID(CL_BUILDING, "Building");
    3434  this->toList(OM_ENVIRON_NOTICK);
    3535
     
    4242 *  default destructor
    4343*/
    44 ModelEntity::~ModelEntity()
     44Building::~Building()
    4545{
    4646}
  • trunk/src/world_entities/environments/building.h

    r7040 r7041  
    11/*!
    2  * @file model_entity.h
    3  *  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.
    44 */
    55
    6 #ifndef _MODEL_ENTITY_H
    7 #define _MODEL_ENTITY_H
     6#ifndef _BUILDING_H
     7#define _BUILDING_H
    88
    99/* INCLUDES */
     
    1212/* FORWARD DECLARATION */
    1313
    14 //! A Class to handle a ModelEntity
    15 class ModelEntity : public WorldEntity
     14//! A Class to handle a Building
     15class Building : public WorldEntity
    1616{
    1717 public:
    18   ModelEntity(const TiXmlElement* root);
     18  Building(const TiXmlElement* root);
    1919
    20   virtual ~ModelEntity();
     20  virtual ~Building();
    2121
    2222};
    2323
    24 #endif  /* _MODEL_ENTITY_H */
     24#endif  /* _BUILDING_H */
    2525
    2626
Note: See TracChangeset for help on using the changeset viewer.