private boolean EverybodyInEnd(Group group) { boolean retValue = true; for (Player player : group.getPlayers()) { if (!player.getActRoom().equals(House.poison)) { retValue = false; } } if (group.equals(poisonGroup)) { retValue = false; } // System.out.println(group.getName()+" group: "+retValue); return retValue; }
private void InterruptAllPeople(Group group) { for (Player player : group.getPlayers()) { player.getActRoom().getPlayers().remove(player); } }