EcsDart class

Inheritance

Constructors

EcsDart()

Properties

count int
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
keys UnmodifiableListView<int>
read-only, inherited
onEntityCreated Stream<EntityCreatedEvent>
read-only, inherited
onEntityRemoved Stream<EntityRemovedEvent>
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addEntity({Iterable<Component> components = const <Component>[]}) Entity
Creates entity
inherited
cleanup() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerSystem(System system) System
registerSystems(Iterable<System> systems) Iterable<System>
removeEntity(Entity entity) bool
inherited
select({Iterable<Type> all, Iterable<Type> none, Iterable<Type> any}) Iterable<Entity>
inherited
toString() String
A string representation of this object. [...]
inherited
update([num time]) → void

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](int id) Entity
inherited