//For Test Purposes /// <summary> /// Creates a carrier ship. /// </summary> /// <returns>EnemyShip.</returns> public static EnemyShip CreateCarrierShip() { CarrierEnemyShip carrierShip = new CarrierEnemyShip(0); return carrierShip; }
/// <summary> /// Creates a carrier ship. /// </summary> /// <param name="startingAngle">The starting angle.</param> /// <param name="spawnLocation">The spawn location.</param> /// <param name="overSeeingGame">The over seeing game.</param> /// <returns>EnemyShip.</returns> private static EnemyShip CreateCarrierShip(float startingAngle, Vector2 spawnLocation, MajorLeagueGamingAsteroids overSeeingGame) { CarrierEnemyShip carrierShip = new CarrierEnemyShip(startingAngle); carrierShip.Initialize(overSeeingGame.GetTexture(MajorLeagueGamingAsteroids.TextureType.ENEMY_SHIP_CARRIER), spawnLocation); return carrierShip; }