class Archetype
package awe
Blueprints for fast construction of Entity
s.
This can be constructed by using the Archetype.build
macro, or by calling
the constructor with the composition and component defaults.
Constructor
Methods
inline add (type:ComponentType):Void
Register a component type from this archetype.
Parameters:
type | The component type to set. |
---|