Changeset 9709 in orxonox.OLD for branches/new_class_id/src/world_entities/environments/water.cc
- Timestamp:
- Aug 31, 2006, 10:51:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/environments/water.cc
r9656 r9709 33 33 34 34 35 36 CREATE_FACTORY(Water, CL_WATER); 35 #include "class_id.h" 36 NewObjectListDefinitionID(Water, CL_WATER); 37 CREATE_FACTORY(Water); 37 38 38 39 39 40 Water::Water(const TiXmlElement* root) 40 41 { 41 this-> setClassID(CL_WATER, "Water");42 this->registerObject(this, Water::_objectList); 42 43 this->toList(OM_ENVIRON); 43 44 … … 217 218 void Water::tick(float dt) 218 219 { 219 ObjectManager::EntityList entityList = State::getObjectManager()->get ObjectList(OM_GROUP_01_PROJ);220 ObjectManager::EntityList entityList = State::getObjectManager()->getEntityList(OM_GROUP_01_PROJ); 220 221 ObjectManager::EntityList::iterator entity = entityList.begin(); 221 222 while (entity != entityList.end())
Note: See TracChangeset
for help on using the changeset viewer.