Changeset 1411 for code/branches/network/src/orxonox/hud/HUD.cc
- Timestamp:
- May 24, 2008, 5:35:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/HUD.cc
r1410 r1411 131 131 } 132 132 133 void HUD::setFPS(float fps){ 134 fpsText->setCaption("FPS: " + Ogre::StringConverter::toString(fps)); 135 } 136 133 137 void HUD::addRadarObject(Vector3 pos){ 134 138 // check if this is the first RadarObject to create … … 152 156 } 153 157 154 /*static*/ void HUD::setFPS(float fps){155 HUD::getSingleton().fpsText->setCaption("FPS: " + Ogre::StringConverter::toString(fps));156 }157 158 158 /*static*/ void HUD::setEnergy(float value){ 159 159 HUD::getSingleton().energyBar->setValue(value);
Note: See TracChangeset
for help on using the changeset viewer.