public static void RidingTest() { Game.CreateMap(MapWithEnemy); DoActions(); Assert.AreEqual(true, Game.Map[2, 0] is Enemy); }
public static void ShootingTest() { Game.CreateMap(MapWithPlayerEnemy); DoActions(); Assert.AreEqual(true, Game.Map[2, 0] is Shell); }
public static void KillingTest() { Game.CreateMap(MapWithEnemyShell); DoActions(); Assert.AreEqual(true, Game.Map[0, 2] == null); }
public static void WallTest() { Game.CreateMap(MapWithWallEnemy); DoActions(); Assert.AreEqual(true, Game.Map[0, 0] is Enemy); }
public static void UpgradeTest() { Game.CreateMap(MapWithUpgradeEnemy); DoActions(); Assert.AreEqual(true, Game.Map[2, 0] is EnemyUpgraded); }
private static void Main() { Game.CreateMap(Maps.FirstMap); Application.Run(new TanksWindow()); }
private void Map3Click(object sender, EventArgs e) { Game.CreateMap(Maps.ThirdMap); UpdateFormWithNewMap(); }