示例#1
0
 /// <summary>
 /// Creates a big 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 CreateBigShip(float startingAngle, Vector2 spawnLocation, MajorLeagueGamingAsteroids overSeeingGame)
 {
     BigEnemyShip bigShip = new BigEnemyShip(startingAngle);
     bigShip.Initialize(overSeeingGame.GetTexture(MajorLeagueGamingAsteroids.TextureType.ENEMY_SHIP_BIG), spawnLocation);
     return bigShip;
 }
示例#2
0
 /// <summary>
 /// Creates a big ship.
 /// </summary>
 /// <returns>EnemyShip.</returns>
 public static EnemyShip CreateBigShip()
 {
     BigEnemyShip bigShip = new BigEnemyShip(0);
     return bigShip;
 }