EntityManager.accessor

Get the accessor delegate assigned to a component.

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

Parameters

C

Component from which the accessor delegate will be retreived.

Return Value

Type: void delegate
(,
C* pc
)

The accessor delegate; null if it has never been set, if it was cleared or if the component is missing.

Meta