net.sf.tankbattles.configuration
Class Team
java.lang.Object
net.sf.tankbattles.configuration.Team
public class Team
- extends java.lang.Object
A Team involved in the battle.
Each team is composed by a collection of tanks and have its own name. This object will be used
to create the tank nodes on the scene graph.
- Author:
- erickpassos
Constructor Summary |
Team()
Default constructor just creates the empty tank collection. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Team
public Team()
- Default constructor just creates the empty tank collection.
getTeamName
public java.lang.String getTeamName()
setTeamName
public void setTeamName(java.lang.String teamName)
getTanks
public java.util.Collection<Tank> getTanks()