Class World
A collection of Entities, their Components, and Resources. Systems operate on those
components and mutate the World.
class World
;
Properties
| Name | Type | Description |
|---|---|---|
resources[get]
|
Resources | A collection of resource instances identified by their type. |
Methods
| Name | Description |
|---|---|
get
(id)
|
Get an Entity given its unique ID. |
spawn
(components)
|
Spawn a new entity given a set of Component instances.
|