component.enginesystem
System that uses engine components to determine entities' movement.
- class EngineSystem: component.system.System;
System that uses engine components to determine entities' movement.
- this(EntitySystem entitySystem, const(GameTime) gameTime);
Construct an EngineSystem working on entities from specified EntitySystem
and using specified game time subsystem to determine time.
- void update();
Update entities' velocities based on their engines.