public void UpdateLevel(Levels.SpaceLevel newLevel) { curLevel = newLevel; }
private Ship playerShip; // Move player and/or enemy ships to a controlling class? #endregion Fields #region Constructors public SpaceManager() { curLevel = null; playerShip = new Ship(); enemyShips = new List<Ship>(); }
public void Initialize(ResolutionRenderer pIrr, ContentManager cm) { irr = pIrr; camera = new Camera2D(irr) { MaxZoom = 2f, MinZoom = 1f, Zoom = 1f }; camera.SetPosition(Vector2.Zero); camera.RecalculateTransformationMatrices(); curLevel = new Levels.SpaceLevel(cm); }