Scene.spawn

Spawn a scene entity using its ID. Second time you call this method for the same id, an assertion is produced. Returns new entity reference.

  1. T spawn(T entity, string id, void delegate(T) initMethod)
  2. T spawn(string id, void delegate(T) initMethod)
    class Scene
    T
    spawn
    (
    T : Entity
    bool STRAT = true
    )
    (
    string id
    ,
    void delegate
    (
    T
    )
    initMethod = null
    )

Meta