/** 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; }
/** 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; }