Beispiel #1
0
 public static void load() {
   if (!City.loaded) {
     City.terrain = new Terrain();
     terrain.defense = 1;
     terrain.mountain = false;
     terrain.moveCost = 1;
     terrain.name = "CITY";
     animations = new Animation[Skirmish.playerCount + 1];
     for (int i = 0; i < Skirmish.playerCount + 1; i++) {
       animations[i] = new Animation("./res/art/structures/city.png", i, 16, 16);
     }
     Structure.structures.add(new City(-1));
     City.loaded = true;
   }
 }