#include <src/orxonox/overlays/debug/DebugFPSText.h>
Public Member Functions | |
DebugFPSText (BaseObject *creator) | |
virtual void | tick (float dt) |
Gets called every frame. | |
virtual | ~DebugFPSText () |
orxonox::DebugFPSText::DebugFPSText | ( | BaseObject * | creator | ) |
References RegisterObject.
orxonox::DebugFPSText::~DebugFPSText | ( | ) | [virtual] |
void orxonox::DebugFPSText::tick | ( | float | dt | ) | [virtual] |
Gets called every frame.
dt | The time since the last frame in seconds |
Implements orxonox::Tickable.
References orxonox::Game::getAvgFPS(), orxonox::Game::getInstance(), orxonox::OverlayText::setCaption(), and SUPER.