public interface ActionsCoach
Modifier and Type | Method and Description |
---|---|
void |
bye()
This is used to disconnect a coach from the server.
|
void |
changePlayerType(int unum,
int playerType)
This command changes a specified players type.
|
void |
eye(boolean eyeOn)
Turns on or off the sending of "(see_global ...)" information from the server.
|
String |
getTeamName()
Returns the team name the coach is connected to.
|
void |
getTeamNames()
This command provides information about the names of both teams and which side they are playing on.
|
void |
handleError(String error)
The method used to show errors.
|
boolean |
isTeamEast()
Is the coach with the east of west team?
|
void |
look()
This command provides information about the positions of the following objects on the field.
|
void |
say(String message)
This command broadcasts the message throughout the field.
|
void |
setTeamEast(boolean is)
Sets the team as east or west.
|
void |
teamGraphic(XPMImage xpm)
This command sends a team graphic to the SServer.
|
void eye(boolean eyeOn)
eyeOn
- True to turn see_global on, false to turn it off.void look()
void say(String message)
message
- A valid String to say.void changePlayerType(int unum, int playerType)
unum
- The players uniform number (1~11 on pitch usually, subs <= 14).playerType
- A player type between 0 (the standard player) and 18. However, player.conf can change this.void teamGraphic(XPMImage xpm)
xpm
- An XPMImage to use.void getTeamNames()
void bye()
void handleError(String error)
error
- The error to show.boolean isTeamEast()
void setTeamEast(boolean is)
is
- true if east.String getTeamName()
Copyright © 2003–2015 Atan. All rights reserved.