World class
Constructors
Properties
- archetypeCount → int
-
no setter
- componentTypesCount → int
-
no setter
- entityCount → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addComponent<
T extends Component> (EntityID entityID, T component) → void -
addComponents(
EntityID entityID, {required List< Component> components}) → void -
addResource<
T> (T resource, {String tag = ""}) → T -
addSystem(
System system, {String tag = ""}) → void -
clear(
) → void -
createEntities(
List< List< entitiesComponents) → List<Component> >EntityID> -
createEntity(
) → EntityID -
getComponent<
T extends Component> (EntityID entityID) → T? -
getResource<
T> ({String tag = ""}) → T? -
isAlive(
EntityID entityID) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
Iterable< Type> types) → Query -
queryCount(
Iterable< Type> types) → int -
queryRaw(
Iterable< Type> types) → Iterable<List< Component> > -
removeComponent<
T extends Component> (EntityID entityID) → void -
removeComponents(
EntityID entityID, {required List< Type> components}) → void -
removeEntity(
EntityID entityID) → bool -
removeResource<
T> ({String tag = ""}) → T? -
toString(
) → String -
A string representation of this object.
inherited
-
update<
T> (T args, {String tag = ""}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited