component.spawnersystem


class SpawnerSystem: component.system.System;

System that handles spawning of entities (e.g. projectiles fired from weapons).

Must run after any system that might kill an entity, and after WeaponSystem.

this(EntitySystem entitySystem, const(GameTime) gameTime);

Construct a SpawnerSystem.

Parameters:
EntitySystem entitySystem EntitySystem whose entities we're processing.
const(GameTime) gameTime Game time subsystem.
@property void yamlManager(ResourceManager!(Node) rhs);

Provide a reference to the YAML resource manager. Must be called at least once after construction.

Throws:
SystemInitException on failure.