project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/TeamInGame.java
Hedgeroid:
- (hopefully) completed the frontlib JNA mappings
- added documentation
- Changed more code to use frontlib for ini reading/writing
- tried to make everything work again that was working before
- Teamlist can now be used to add and remove teams
- Netplay now correctly handles team additions when being room chief
- Fixed TeamCreatorActivity so that editing teams works
package org.hedgewars.hedgeroid.Datastructures;
/**
* A team with per-game configuration. This is similar to the frontlib "team" structure,
* except that it does not include weaponset and initial health, which are handled on a
* per-game basis in the UI, but per-hog in the frontlib.
*/
public final class TeamInGame {
public final Team team;
public final TeamIngameAttributes ingameAttribs;
public TeamInGame(Team team, TeamIngameAttributes ingameAttribs) {
this.team = team;
this.ingameAttribs = ingameAttribs;
}
public TeamInGame withAttribs(TeamIngameAttributes attribs) {
return new TeamInGame(team, attribs);
}
}