C4 Engine
C4 Engine API Documentation

Effect::SleepEffect

Defined in:  C4Effects.h
Puts an effect to sleep.
Prototype

void SleepEffect(void);

Description
The SleepEffect function puts an effect to sleep. The Effect::MoveEffect function is not called for effects that are currently in the sleeping state. An effect can be put in the non-sleeping state by calling the Effect::WakeEffect function. Effects are in the sleeping state by default, so the Sleep function does not need to be called for custom effects that do not implement a MoveEffect function.
See Also

Effect::WakeEffect

Effect::MoveEffect