Entish Docs (35% documented)

Entish Reference Classes Reference

Classes

The following classes are available globally.

  • Manages a set of game systems that implement the ISystem protocol and the Entity objects that interact with those systems.

    See more

    Declaration

    Swift

    public class EntityController
  • Factory class that produces Entity objects and the IComponent instances with which they are associated.@@TODO: describe configuration

    See more

    Declaration

    Swift

    public class EntityFactory
  • A component for existential (and semi-existential) traits.

    See more

    Declaration

    Swift

    public final class ExistentialComponent: IComponent, IConfigBuildable
  • Manages entities that have existential traits (name, HP).

    See more

    Declaration

    Swift

    public class ExistentialSystem: ISystem
  • A component that provides its Entity with an SKNode.

    See more

    Declaration

    Swift

    public final class NodeComponent: IComponent, IConfigBuildable
  • Manages entities that have a corresponding SKNode.

    See more

    Declaration

    Swift

    public class NodeSystem: ISystem
  • A system that serves as the SKPhysicsContactDelegate for a scene. It provides two signals: didBeginContact and didEndContact, which fire any time there is a physics contact in the scene. These signals can be filtered to obtain only a particular subset of the scene’s contact events.

    See more

    Declaration

    Swift

    public class PhysicsSystem: NSObject, ISystem, SKPhysicsContactDelegate
  • A component containing a position as a CGPoint.

    See more

    Declaration

    Swift

    public final class PositionComponent: IComponent, IConfigBuildable
  • Manages entities that have a position expressed as a CGPoint.

    See more

    Declaration

    Swift

    public class PositionSystem: ISystem
  • A component providing its Entity with an SKSpriteNode. The sprite node is automatically added to the Entity’s SKNode (which it acquires from NodeComponent).Required components: NodeComponent

    See more

    Declaration

    Swift

    public final class SpriteComponent: IComponent, IConfigBuildable