/// <summary> /// Construct a GameObject for the provided World. /// </summary> /// <param name="world"></param> internal GameObject(World world) { this.World = world; this.Layer = world.GameState.Layers.Default; this.Set = new GameObjectConfigurator(this); this.Add = new GameObjectComponentAdder(this); this.AddGameObjectComponent(new Transform()); }
public Camera(World world) : base(world) { }