Skip to content
ConcordConcordConcord

World:addEntity

Queues an Entity to be added to the World.

← World

Queues an Entity to be added to the World.

The Entity’s world is set immediately. The Entity is not in getEntities() and is not evaluated by Systems until the next flush.

world = world:addEntity( e )
Name Type Description
e Entity Entity to add
Name Type Description
world World