net.sf.tankbattles.configuration
Class Team

java.lang.Object
  extended by 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.
 
Method Summary
 java.util.Collection<Tank> getTanks()
           
 java.lang.String getTeamName()
           
 void setTeamName(java.lang.String teamName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Team

public Team()
Default constructor just creates the empty tank collection.

Method Detail

getTeamName

public java.lang.String getTeamName()

setTeamName

public void setTeamName(java.lang.String teamName)

getTanks

public java.util.Collection<Tank> getTanks()