project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/TeamInGame.java
author Medo <smaxein@googlemail.com>
Sun, 12 Aug 2012 23:51:36 +0200
changeset 7494 e65adfc99f15
parent 7485 0481bd74267c
child 7508 763d3961400b
permissions -rw-r--r--
frontlib/Hedgeroid: Modified frontlib build in Hedgeroid so it works without having to copy the source dir.

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);
	}
}