Changeset 2077 in orxonox.OLD for orxonox/trunk/src/world_entity.cc
- Timestamp:
- Jul 5, 2004, 9:51:48 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entity.cc
r2043 r2077 108 108 /** 109 109 \brief this method is called every tick 110 \param time: the time since start of the world110 \param time: the time since the last frame was painted 111 111 112 112 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. 113 113 */ 114 void WorldEntity::tick(float time)114 void WorldEntity::tick(float dt) 115 115 {} 116 116 … … 121 121 */ 122 122 void WorldEntity::paint() 123 { 124 cout << "WorldEntity::paint()" << endl; 125 } 123 {} 126 124 127 125 /* virtual void WorldEntity::actionEvent(Event* event); */
Note: See TracChangeset
for help on using the changeset viewer.