示例#1
0
 /// <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());
 }
示例#2
0
 public Camera(World world) 
     : base(world)
 {
 }