public class SimplySillyTeam
extends com.github.robocup_atan.atan.model.AbstractTeam
Constructor and Description |
---|
SimplySillyTeam(java.lang.String name,
int port,
java.lang.String hostname,
boolean hasCoach)
Constructs a new simple silly team.
|
Modifier and Type | Method and Description |
---|---|
com.github.robocup_atan.atan.model.ControllerCoach |
getNewControllerCoach()
Generates a new coach.
|
com.github.robocup_atan.atan.model.ControllerPlayer |
getNewControllerPlayer(int number)
The first controller of the team is silly the others are simple.
|
public SimplySillyTeam(java.lang.String name, int port, java.lang.String hostname, boolean hasCoach)
name
- The team name.port
- The port to connect to SServer.hostname
- The SServer hostname.hasCoach
- True if connecting a coach.public com.github.robocup_atan.atan.model.ControllerPlayer getNewControllerPlayer(int number)
getNewControllerPlayer
in class com.github.robocup_atan.atan.model.AbstractTeam
public com.github.robocup_atan.atan.model.ControllerCoach getNewControllerCoach()
getNewControllerCoach
in class com.github.robocup_atan.atan.model.AbstractTeam