/** create the ship of this level * can be overridden to make other ship types or add behaviours */ public virtual void CreateShip() { ship = new Ship(); KeyboardShipControl shipControl = new KeyboardShipControl(); ship.Add(shipControl); ship.player = RunningGameState.player; }
/** create the ship of this level - default ship here */ public virtual Ship CreateShip() { Ship s = new Ship(); KeyboardShipControl shipControl = new KeyboardShipControl(); s.Add(shipControl); return s; }