Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 3, 2005, 1:33:01 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: started documentation of world-entities….
this is not really usefull, because i think, that this will change a lot with development….

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/environment.cc

    r4094 r4490  
    2626
    2727
    28 
     28/**
     29   \brief creates an environment
     30*/
    2931Environment::Environment () : WorldEntity()
    3032{
    31   this->model = (Model*) ResourceManager::getInstance()->load("cube", RP_LEVEL);
     33
    3234}
    3335
    3436
    35 
     37/**
     38   \brief deletes an environment
     39*/
    3640Environment::~Environment ()
    3741{
     
    3943}
    4044
     45/**
     46   \brief ticks the environment
     47   \param time the time about which to tick
     48*/
    4149void Environment::tick (float time) {}
    4250
     51/**
     52   \brief if a hit occures
     53*/
    4354void Environment::hit (WorldEntity* weapon, Vector* loc) {}
    4455
     56/**
     57   \brief destroys an Environment
     58*/
    4559void Environment::destroy () {}
    4660
     61/**
     62   \brief a collision with some ship
     63*/
    4764void Environment::collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags) {}
    4865
     66/**
     67   \brief draws the Environment
     68*/
    4969void Environment::draw ()
    5070{
Note: See TracChangeset for help on using the changeset viewer.