|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soccerclient.brain.Action
Action
handles communication between Player
and Communication
Field Summary | |
(package private) Communication |
com
|
Constructor Summary | |
protected |
Action(Communication com)
instanziiert ein neues Action Objekt |
Method Summary | |
protected void |
catchBall(double direction)
Torwart nimmt Ball aus Richtung direction |
protected void |
changeView(java.lang.String width,
java.lang.String quality)
ändert den View Mode |
protected void |
dash(double speed)
Spieler rennt mit Wert speed |
protected void |
getScore()
holt den aktuellen Spielstand |
protected void |
kick(double power,
double direction)
Spieler kickt mit Wert power in Richtung direction |
protected void |
moveTo(Coordinate coor)
Spieler wird auf mit move Befehl auf Coordinate gesetzt |
protected void |
say(java.lang.String str)
Spieler sagt Audio-Message mit Inhalt str |
protected void |
turnBody(double turnMoment)
Spieler dreht sich in relative Richtung turnMoment |
protected void |
turnNeck(double turnMoment)
Spieler dreht Kopf in relative Richtung turnMoment |
Methods inherited from class java.lang.Object |
|
Field Detail |
Communication com
Constructor Detail |
protected Action(Communication com)
Action
Objektcom
- das Communication
ObjektMethod Detail |
protected void moveTo(Coordinate coor)
Coordinate
gesetztcoor
- eine Coordinate
protected void dash(double speed)
speed
speed
- ein double
Wertprotected void kick(double power, double direction)
power
in Richtung direction
power
- ein double
Wertdirection
- ein double
Wertprotected void turnBody(double turnMoment)
turnMoment
turnMoment
- ein double
Wertprotected void turnNeck(double turnMoment)
turnMoment
turnMoment
- ein double
Wertprotected void catchBall(double direction)
direction
direction
- ein double
Wertprotected void say(java.lang.String str)
str
str
- ein String
Objektprotected void changeView(java.lang.String width, java.lang.String quality)
ein
- String
Objekt der die gewünschte Weite enthältein
- String
Object der die gewünschte Quality enthältprotected void getScore()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |