World class

Implementers

Constructors

World()

Properties

componentManager ComponentManager
getter/setter pair
entities UnmodifiableListView<Entity>
no setter
entityManager EntityManager
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemManager SystemManager
getter/setter pair

Methods

createEntity([String? name]) Entity
Create a new Entity.
deregisterSystem<T extends System>() → void
Deregister a registered System.
execute(double delta) → void
Execute everything in the World once.
init() → void
Initialize the World.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerComponent<T extends Component<V>, V>(ComponentBuilder<T> builder) → void
Register a Component builder.
registerSystem<T extends System>(T system) → void
Register a System.
remove(String key) → void
Remove extra data.
retrieve<T>(String key) → T?
Retrieve extra data.
store<T>(String key, T item) → void
Store extra data.
toString() String
A string representation of this object.
inherited

Operators

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