Tickable.h File Reference

Declaration of the Tickable interface. More...

#include "OrxonoxPrereqs.h"
#include "core/OrxonoxClass.h"
#include "core/Super.h"

Namespaces

namespace  orxonox

Classes

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

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.


Generated on Tue Jul 28 16:21:09 2009 for Orxonox by  doxygen 1.5.6