SystemManager.register

Register a new system.

If flag is Yes.AutoSubscribe (default), this will automatically subscribe system to any events for which it implements Receiver. Note that this will not work if system is passed as System -- it should be passed as its full type.

  1. void register(S system, Order order, Flag!"AutoSubscribe" flag)
  2. void register(S system, Flag!"AutoSubscribe" flag)
    class SystemManager
    void
    register
    (
    S : System
    )
    (,
    Flag!"AutoSubscribe" flag
    )

Throws

SystemException if the system was already registered.

Meta