Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2141 in orxonox.OLD for orxonox/branches/chris/src/world.cc


Ignore:
Timestamp:
Jul 14, 2004, 3:31:42 PM (21 years ago)
Author:
chris
Message:

orxonox/branches/chris: added lots and lots of doxygen tags

File:
1 edited

Legend:

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

    r2115 r2141  
    2727
    2828/**
    29    \brief Create a new World
     29   \brief create a new World
    3030   
    3131   This creates a new empty world!
     
    3636}
    3737
    38 
     38/**
     39   \brief remove the World from memory
     40*/
    3941World::~World ()
    4042{
     
    4345}
    4446
     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*/
    4553void World::collide ()
    4654{
     
    7583}
    7684
     85/**
     86   \brief runs through all entities calling their draw() methods
     87*/
    7788void World::draw ()
    7889{
     
    140151}
    141152
     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*/
    142159void World::update ()
    143160{
     
    190207}
    191208
     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*/
    192213void World::time_slice (Uint32 deltaT)
    193214{
     
    209230}
    210231
     232/**
     233        \brief removes level data from memory
     234*/
    211235void World::unload()
    212236{
     
    215239}
    216240
     241/**
     242        \brief loads a simple level for testing purposes
     243*/
    217244void World::load_debug_level()
    218245{
     
    245272}
    246273
     274/**
     275        \brief calls the correct mapping function to convert a given "look at"-Location to a Camera Placement
     276*/
    247277void World::calc_camera_pos (Location* loc, Placement* plc)
    248278{
Note: See TracChangeset for help on using the changeset viewer.