EntityManager.accessor

Set an accessor delegate for a component.

  1. void accessor(void delegate(Entity e, C* pc) dg)
    class EntityManager
    @property
    void
    accessor
    (
    C
    )
    (
    void delegate
    (,
    C* pc
    )
    dg
    )
  2. void delegate(Entity e, C* pc) accessor()

Parameters

C

Component to which the accessor delegate will be set.

dg void delegate
(,
C* pc
)

Delegate that will be called when using Entity.iterate. Use null to clear the accessor.

Meta