Changes between Version 1 and Version 2 of code/howto/Tickable
- Timestamp:
- Oct 10, 2008, 3:36:39 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/howto/Tickable
v1 v2 1 1 = HowTo: Tickable = 2 [[TracNav(TracNav/TOC_Development)]] 2 3 3 4 A 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.