Skip to content
ConcordConcordConcord

Entity.new

Creates a new Entity. Optionally queues it to be added to a World.

← Entity

Creates a new Entity. Optionally queues it to be added to a World.

If Entity.SERIALIZE_BY_DEFAULT is true, the Entity is given a “serializable” Component.

entity = Entity.new( world )
Name Type Description
world World World to add the entity to
Name Type Description
entity Entity