Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

trunk: added new worldEntity Building

File:
1 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}
Note: See TracChangeset for help on using the changeset viewer.