Changeset 7947 in orxonox.OLD for branches/cr/src/story_entities
- Timestamp:
- May 29, 2006, 1:12:19 AM (19 years ago)
- Location:
- branches/cr/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/story_entities/game_world.cc
r7919 r7947 278 278 /* process time */ 279 279 this->tick (); 280 /* process collision */ 281 this->collide (); 280 /* collision detection */ 281 this->collisionDetection (); 282 /* collision reaction */ 283 this->collisionReaction (); 282 284 /* update the state */ 283 285 this->update (); … … 408 410 * kicks the CDEngine to detect the collisions between the object groups in the world 409 411 */ 410 void GameWorld::colli de()412 void GameWorld::collisionDetection() 411 413 { 412 414 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), … … 422 424 this->dataTank->objectManager->getObjectList(OM_COMMON)); 423 425 426 } 427 428 429 void GameWorld::collisionReaction() 430 { 431 CREngine::getInstance()->handleCollisions(); 424 432 } 425 433 -
branches/cr/src/story_entities/game_world.h
r7919 r7947 68 68 virtual void update(); 69 69 virtual void checkGameRules(); 70 virtual void collide(); 70 virtual void collisionDetection(); 71 virtual void collisionReaction(); 71 72 72 73 void drawEntityList(const ObjectManager::EntityList& drawList ) const;
Note: See TracChangeset
for help on using the changeset viewer.