![]() |
Public API Reference |
![]() |
A sequence condition. More...
#include <ivaria/sequence.h>
Public Member Functions | |
virtual bool | Condition (csTicks dt, iBase *params)=0 |
Do the condition. |
A sequence condition.
This is also a callback to the application. This condition returns true on success.
Main creators of instances implementing this interface:
Main users of this interface:
Definition at line 71 of file sequence.h.
virtual bool iSequenceCondition::Condition | ( | csTicks | dt, |
iBase * | params | ||
) | [pure virtual] |
Do the condition.
The dt parameter is the difference between the time the sequence manager is at now and the time this condition was supposed to be called. If this is 0 then the condition is called at the right time. If this is 1000 (for example) then the condition was called one second late. This latency can happen because the sequence manager only kicks in every frame and frame rate can be low.