Generate class

Metadata to annotate Managers and EntitySystems to generate code required for Mappers, other Managers and other EntitySystems using dartemis_builder.

Constructors

Generate(Type base, {List<Type> allOf = const [], List<Type> oneOf = const [], List<Type> exclude = const [], List<Type> mapper = const [], List<Type> systems = const [], List<Type> manager = const []})
Generate a class that extends base with an Aspect based on allOf, oneOf and exclude as well as the additional Mappers defined by mapper and the EntitySystems and Managers defined by systems and manager.
const

Properties

allOf List<Type>
All Aspects that an int needs to be processed by the EntitySystem. The required Mappers will also be created.
final
base Type
The EntitySystem or Manager that is the base class.
final
exclude List<Type>
Excludes ints that have these Aspects from being processed by the EntitySystem.
final
hashCode int
The hash code for this object.
no setterinherited
manager List<Type>
Other Managers to declare and initialize.
final
mapper List<Type>
Additional mappers to declare and initialize.
final
oneOf List<Type>
One of the Aspects that an int needs to be processed by the EntitySystem. Required Mappers will also be created.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systems List<Type>
Other EntitySystems to declare and initialize.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited