C4 Engine
C4 Engine API Documentation

class WaveGenerator

Defined in:  C4Water.h
The WaveGenerator class is the base class for wave generators.
Definition

class WaveGenerator : public ListElement<WaveGenerator>, public Packable, public Memory<WaveGenerator>

Member Functions
WaveGenerator::GetWaveGeneratorType Returns the wave generator type.
WaveGenerator::GetWaveGeneratorFlags Returns the wave generator flags.
WaveGenerator::SetWaveGeneratorFlags Sets the wave generator flags.
WaveGenerator::InvalidateWaveGenerator Invalidates a wave generator.
Constructor

WaveGenerator(WaveGeneratorType type);

Parameters
type The type of the wave generator.
Description
The WaveGenerator class is the base class for more specific types of wave generators.
Base Classes
ListElement<WaveGenerator> Used internally by the Physics Manager.
Packable Wave generators can be packed for storage in resources.
Memory<WaveGenerator> Wave generators are stored in a dedicated heap.
See Also

PointWaveGenerator

LineWaveGenerator

WaterController