Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iSequenceCondition Struct Reference

A sequence condition. More...

#include <sequence.h>

Inheritance diagram for iSequenceCondition:

iBase List of all members.

Public Methods

virtual bool Condition (csTicks dt)=0
 Do the condition. More...

Detailed Description

A sequence condition.

This is also a callback to the application. This condition returns true on success.

Member Function Documentation

bool iSequenceCondition::Condition ( csTicks dt ) [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.

The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000