- Timestamp:
- Jul 18, 2004, 10:19:16 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/src/world.cc
r2192 r2193 280 280 } 281 281 282 /** 283 \brief sends a damage message to all WorldEntities in the specified vicinity 284 \param loc: the Location of the epicenter of the explosion 285 \param dmg: the damage dealt 286 \param r: the radius of the explosion 287 \param instigator: a pointer to the entity that caused the explosion 288 289 This is a rather expensive function to call, so I suggest you do not call this every tick when you want to 290 create something that deals damage over time (use a countdown instead that calls this function every second or so). 291 */ 282 292 void World::explosion (Location* loc, Damage* dmg, float r, WorldEntity* instigator) 283 293 { … … 308 318 } 309 319 320 /** 321 \brief sends a damage message to all WorldEntities in the specified vicinity 322 \param plc: the Placement of the epicenter of the explosion 323 \param dmg: the damage dealt 324 \param r: the radius of the explosion 325 \param instigator: a pointer to the entity that caused the explosion 326 327 This is a rather expensive function to call, so I suggest you do not call this every tick when you want to 328 create something that deals damage over time (use a countdown instead that calls this function every second or so). 329 */ 310 330 void World::explosion (Placement* plc, Damage* dmg, float r, WorldEntity* instigator) 311 331 {
Note: See TracChangeset
for help on using the changeset viewer.