use of spacesettlers.clients.ImmutableTeamInfo in project spacesettlers by amymcgovern.
the class SpaceSettlersSimulator method updateTeamInfo.
/**
* Update the team infomation that is sharable
*/
private void updateTeamInfo() {
LinkedHashSet<ImmutableTeamInfo> teamInfo = new LinkedHashSet<ImmutableTeamInfo>();
for (Team team : teams) {
teamInfo.add(new ImmutableTeamInfo(team));
}
simulatedSpace.setTeamInfo(teamInfo);
}
Aggregations