예제 #1
0
 public ContainerGameObject(BasicLevel level, Vector2 position, Vector2 size, IWorldObject parent = null, MyTexture2D texture = null) : base(level, position, size, parent, texture)
 {
     GameElements   = new List <IGameElement>();
     DrawBackground = false;
 }
예제 #2
0
 public GameObject(BasicLevel level, Vector2 position, Vector2 size, IWorldObject parent = null, MyTexture2D texture = null)
     : base(level.Camera, position, size, parent ?? level, texture)
 {
     Level = level;
 }