/// <summary> /// Creates a small ship. /// </summary> /// <returns>EnemyShip.</returns> public static EnemyShip CreateSmallShip() { SmallEnemyShip smallShip = new SmallEnemyShip(0); return smallShip; }
/// <summary> /// Creates a small 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 CreateSmallShip(float startingAngle, Vector2 spawnLocation, MajorLeagueGamingAsteroids overSeeingGame) { SmallEnemyShip smallShip = new SmallEnemyShip(startingAngle); smallShip.Initialize(overSeeingGame.GetTexture(MajorLeagueGamingAsteroids.TextureType.ENEMY_SHIP_SMALL), spawnLocation); return smallShip; }