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; }
public GameObject(BasicLevel level, Vector2 position, Vector2 size, IWorldObject parent = null, MyTexture2D texture = null) : base(level.Camera, position, size, parent ?? level, texture) { Level = level; }