component.controllersystem - ICE 0.1 API documentation

ICE 0.1 API documentation

# component.controllersystem

System that handles player/script control of entities.

class ControllerSystem: component.system.System;

  System that handles player/script control of entities.

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

    Construct a ControllerSystem working on entities from specified EntitySystem and using specified game time subsystem to determine time.

  @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.
  void update();

    Update the ControllerSystem, processing entities with ControllerComponents.

    Player controls the ControllerComponent, which in turn is used to control the EngineComponent of the entity.

Copyright © Ferdinand Majerech 2011. | Page generated by AutoDDoc and Ddoc.