Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of code/howto/Tickable


Ignore:
Timestamp:
Oct 10, 2008, 3:36:39 AM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/howto/Tickable

    v1 v2  
    11= HowTo: Tickable =
     2[[TracNav(TracNav/TOC_Development)]]
    23
    34A tick is one frame or one iteration of the main-loop. Classes can be called every tick. This is achieved by inheriting from [wiki:Tickable] and implementing the {{{virtual void tick(float dt)}}} function. ''dt'' is the time '''in seconds''' passed since the last tick.