component.visualsystem - ICE 0.1 API documentation

ICE 0.1 API documentation

# component.visualsystem

System that displays (with VideoDriver) visual representations of entities.

class VisualSystem: component.system.System;

  System that displays (with VideoDriver) visual representations of entities.

  this(EntitySystem entitySystem, VFSDir gameDir);

    Construct a VisualSystem.

    Parameters:

    EntitySystem entitySystem | Entity system whose entities we're processing.
    VFSDir gameDir | Game data directory.

  pure nothrow @property void videoDriver(VideoDriver rhs);

    Set VideoDriver to draw VisualComponents with.

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

    Render entities' visual representations.

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