Changeset 2141 in orxonox.OLD for orxonox/branches/chris/src/world.cc
- Timestamp:
- Jul 14, 2004, 3:31:42 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/world.cc
r2115 r2141 27 27 28 28 /** 29 \brief Create a new World29 \brief create a new World 30 30 31 31 This creates a new empty world! … … 36 36 } 37 37 38 38 /** 39 \brief remove the World from memory 40 */ 39 41 World::~World () 40 42 { … … 43 45 } 44 46 47 /** 48 \brief checks for collisions 49 50 This method runs through all WorldEntities known to the world and checks for collisions between them. 51 In case of collisions the collide() method of the corresponding entities is called. 52 */ 45 53 void World::collide () 46 54 { … … 75 83 } 76 84 85 /** 86 \brief runs through all entities calling their draw() methods 87 */ 77 88 void World::draw () 78 89 { … … 140 151 } 141 152 153 /** 154 \brief updates Placements and notifies entities when they left the world 155 156 This runs trough all WorldEntities and maps Locations to Placements if they are bound, checks 157 whether they left the level boundaries and calls appropriate functions. 158 */ 142 159 void World::update () 143 160 { … … 190 207 } 191 208 209 /** 210 \brief relays the passed time since the last frame to entities and Track parts 211 \param deltaT: the time passed since the last frame in milliseconds 212 */ 192 213 void World::time_slice (Uint32 deltaT) 193 214 { … … 209 230 } 210 231 232 /** 233 \brief removes level data from memory 234 */ 211 235 void World::unload() 212 236 { … … 215 239 } 216 240 241 /** 242 \brief loads a simple level for testing purposes 243 */ 217 244 void World::load_debug_level() 218 245 { … … 245 272 } 246 273 274 /** 275 \brief calls the correct mapping function to convert a given "look at"-Location to a Camera Placement 276 */ 247 277 void World::calc_camera_pos (Location* loc, Placement* plc) 248 278 {
Note: See TracChangeset
for help on using the changeset viewer.