-
Notifications
You must be signed in to change notification settings - Fork 0
Component Universe
Drakim edited this page Oct 5, 2016
·
1 revision
The universe component is the anchor for which various parts of the game such as entities and tiles can interact with each other. The component provides an empty endless 2d plane, other components and entities have to fill it with stuff.
The universe component is also responsible for providing the "update" event to all it's child entities.
addEntity (entity:Entity)
removeEntity (entity:Entity)
setMap (map:Map)
update ()