Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2077 in orxonox.OLD for orxonox/trunk/src/world_entity.cc


Ignore:
Timestamp:
Jul 5, 2004, 9:51:48 PM (20 years ago)
Author:
patrick
Message:

/orxonox/trunk/src: making doxygen comments in worldentity, player, world; extending API of worldentity; inserting list.h in world - this version does not compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entity.cc

    r2043 r2077  
    108108/**
    109109   \brief this method is called every tick
    110    \param time: the time since start of the world
     110   \param time: the time since the last frame was painted
    111111
    112112   This function is called before every repaint of the world, to update every time dependent variable of the entity. If the entity moves, it has to calculate the new position every tick here in this function. Do not use this for animations.
    113113*/
    114 void WorldEntity::tick(float time)
     114void WorldEntity::tick(float dt)
    115115{}
    116116
     
    121121*/
    122122void WorldEntity::paint()
    123 {
    124   cout << "WorldEntity::paint()" << endl;
    125 }
     123{}
    126124
    127125/* virtual void WorldEntity::actionEvent(Event* event); */
Note: See TracChangeset for help on using the changeset viewer.