Class World

A collection of Entities, their Components, and Resources. Systems operate on those components and mutate the World.

class World ;

Properties

NameTypeDescription
resources[get] ResourcesA collection of resource instances identified by their type.

Methods

NameDescription
get (id) Get an Entity given its unique ID.
spawn (components) Spawn a new entity given a set of Component instances.