Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Functions
Tickable.h File Reference

Declaration of the Tickable interface. More...

#include "tools/ToolsPrereqs.h"
#include "core/class/OrxonoxInterface.h"
#include "core/class/Super.h"

Go to the source code of this file.

Classes

class  orxonox::Tickable
 The Tickable interface provides a tick(dt) function, that gets called every frame. More...
 

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 

Functions

 orxonox::SUPER_FUNCTION (1, Tickable, tick, true)
 

Detailed Description

Declaration of the Tickable interface.

The Tickable interface provides a tick(dt) function, that gets called every frame. float dt is the time since the last frame in seconds.

Attention: Classes derived from a Tickable that want to have a tick(dt) function on their part, MUST call the parent::tick(dt) function explicitly in their implementation of tick(dt) because it's a virtual function.