@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface AspectDescriptor
Auto-configures fields pertaining to aspects. The annotated field
must be one the following types: Archetype
, Aspect
, Aspect.Builder
,
EntitySubscription
, EntityTransmuter
.
This annotation will take precedence over All
, One
and Exclude
.
This annotation works similar to Wire
; fields are configured
during BaseSystem.initialize()
, or explicitly via World.inject(Object)
.
all
and exclude
correspond to create/remove. Archetypes
only feature create. Any types specified in one
are ignored.
Copyright © 2019. All rights reserved.