Changeset 8036 in orxonox.OLD for branches/network/src/story_entities
- Timestamp:
- May 31, 2006, 4:33:31 PM (19 years ago)
- Location:
- branches/network/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/multi_player_world.cc
r7954 r8036 86 86 87 87 /** 88 * kicks the CDEngine to detect the collisions between the object groups in the world 89 */ 90 void MultiPlayerWorld::collide() 91 { 92 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_PLAYERS), 93 this->dataTank->objectManager->getObjectList(OM_PLAYERS)); 94 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_PLAYERS), 95 this->dataTank->objectManager->getObjectList(OM_PLAYERS_PROJ)); 96 97 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), 98 this->dataTank->objectManager->getObjectList(OM_GROUP_01_PROJ)); 99 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_01), 100 this->dataTank->objectManager->getObjectList(OM_GROUP_00_PROJ)); 101 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), 102 this->dataTank->objectManager->getObjectList(OM_GROUP_01)); 103 104 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), 105 this->dataTank->objectManager->getObjectList(OM_COMMON)); 106 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_01), 107 this->dataTank->objectManager->getObjectList(OM_COMMON)); 108 109 } 110 111 112 /** 88 113 * some debug ouptut - shell command 89 114 */ -
branches/network/src/story_entities/multi_player_world.h
r6512 r8036 31 31 protected: 32 32 virtual void synchronize(); 33 virtual void collide(); 33 34 }; 34 35
Note: See TracChangeset
for help on using the changeset viewer.