Entish Docs (35% documented)

Entish Reference Protocols Reference

Protocols

The following protocols are available globally.

  • If your use case requires a custom factory class for instantiating Entity components, that factory class must implement IComponentFactory. Create an instance of your custom class and assign it to the componentFactory property on your EntityController.

    See more

    Declaration

    Swift

    public protocol IComponentFactory
  • Represents a type that has existential traits, such as a name, a certain number of hit points, etc.

    See more

    Declaration

    Swift

    public protocol IExistent: class