public class ChangeTeam extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
Id of the target bot (won't be parsed if sent to bot
connection).
|
protected int |
Team
This is the team we want to change to (0 for red, 1 for
blue, etc.).
|
| Constructor and Description |
|---|
ChangeTeam()
Creates new instance of command ChangeTeam.
|
ChangeTeam(ChangeTeam original)
Cloning constructor.
|
ChangeTeam(UnrealId Id,
int Team)
Creates new instance of command ChangeTeam.
|
| Modifier and Type | Method and Description |
|---|---|
UnrealId |
getId()
Id of the target bot (won't be parsed if sent to bot
connection).
|
int |
getTeam()
This is the team we want to change to (0 for red, 1 for
blue, etc.).
|
ChangeTeam |
setId(UnrealId Id)
Id of the target bot (won't be parsed if sent to bot
connection).
|
ChangeTeam |
setTeam(int Team)
This is the team we want to change to (0 for red, 1 for
blue, etc.).
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
protected UnrealId Id
protected int Team
public ChangeTeam(UnrealId Id, int Team)
Id - Id of the target bot (won't be parsed if sent to bot
connection).Team - This is the team we want to change to (0 for red, 1 for
blue, etc.).public ChangeTeam()
public ChangeTeam(ChangeTeam original)
public UnrealId getId()
public ChangeTeam setId(UnrealId Id)
public int getTeam()
public ChangeTeam setTeam(int Team)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.