Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2193 in orxonox.OLD


Ignore:
Timestamp:
Jul 18, 2004, 10:19:16 AM (20 years ago)
Author:
chris
Message:

orxonx/branches/chris: added doxygen tags to World::explosion()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/world.cc

    r2192 r2193  
    280280}
    281281
     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*/
    282292void World::explosion (Location* loc, Damage* dmg, float r, WorldEntity* instigator)
    283293{
     
    308318}
    309319
     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*/
    310330void World::explosion (Placement* plc, Damage* dmg, float r, WorldEntity* instigator)
    311331{
Note: See TracChangeset for help on using the changeset viewer.