Beispiel #1
0
 /** get player count that are in a clan. */
 public static int getWhiteClanPlayerCount(int whiteCount) {
   for (Player p : players) {
     if (p != null) {
       if (p.clanWarsFightArea()) {
         if (p.whiteTeam) whiteCount++;
       }
     }
   }
   return whiteCount;
 }
Beispiel #2
0
 /** get player count that are in a clan. */
 public static int getBlackClanPlayerCount(int blackCount) {
   for (Player p : players) {
     if (p != null) {
       if (p.clanWarsFightArea()) {
         if (p.blackTeam) blackCount++;
       }
     }
   }
   return blackCount;
 }