A B C D E F G I K M N P R S T V

A

AcousticEvent - class AcousticEvent.
The class AcousticEvent transforms the information from server and writes it into a Vector
AcousticEvent(String) - Constructor for class AcousticEvent
creates a new AcoustisEvent instance
AcousticInfo - class AcousticInfo.
The class AcousticInfo defines a new data type for saving the information about the acoustic messages (currently not used)
actualize(Vector) - Method in class GlobalView
actualizes the Vector with the relative Information
add(AcousticInfo) - Method in class AcousticEvent
Adds a new AcousticInfo to the Vector
add(BodyInfo) - Method in class BodyEvent
Adds an new BodyInfo instance to th Vector
add(VisualInfo) - Method in class VisualEvent
Adds a new VisualInfo instance into the Vector
amountOfSpeed() - Method in class BodyInfo
The amount of player's speed

B

ballInDefA(VisualInfo, int) - Method in class SuperPlayer
Decides if the ball is in the area of the player
ballInOwnHalf(VisualInfo) - Method in class SuperPlayer
Checks if the ball is in the own half of the field
BodyEvent - class BodyEvent.
The class BodyEvent trasforms the information from server and writes it into a Vector
BodyEvent(String) - Constructor for class BodyEvent
creates an new BodyEvent instance
BodyInfo - class BodyInfo.
The class VisualInfo defines a new data type for saving all the needed body information about a seen object.

C

catchBall(double) - Method in class Parser
Catches the ball in the given direction
checkGoodGoalPosition(Point2D.Double) - Method in class SuperPlayer
Decides if player is in good position to kick on goal
checkIfInDefArea(Point2D.Double, int) - Method in class SuperPlayer
Decides if the player is in his area
communication - Variable in class Parser
a new Communication instance
Communication - class Communication.
The class Communication handles UDP network traffic from/to the rcssserver.
Communication(String, int) - Constructor for class Communication
Creates a new Communication instance.

D

dash(double) - Method in class Parser
gives a runnig impulse with a given power
dirChange() - Method in class VisualInfo
The approximate change of the direction
direction() - Method in class AcousticInfo
The direction to the sender of the message
direction() - Method in class VisualInfo
The direction in which the object was perceived
directionOfSpeed() - Method in class BodyInfo
The direction of the player's speed
distance() - Method in class VisualInfo
The distance in which the object was perceived
distChange() - Method in class VisualInfo
The approximate change of distance

E

elements() - Method in class AcousticEvent
The Enumeration of the Vector which contains all the information about the hear messages
elements() - Method in class BodyEvent
an Enumeration of the Vector
elements() - Method in class VisualEvent
The Enumeration of the Vector
Event - class Event.
The class Event is the superclass of all events to be represented during the game.
event() - Method in class Parser
receives the incoming message from server and indicates which type of the event it is
Event() - Constructor for class Event
 

F

findSpecialKickDirection(VisualInfo, double, Point2D.Double) - Method in class SuperPlayer
Calculates a special direction for turning or kicking

G

getBallProperty(VisualInfo) - Method in class GlobalView
tests, if there are players within the kickable margine of the ball(currently not used)
getDefAr(int) - Method in class SuperPlayer
Returns the area border of the player
getDistance(Point2D.Double, double, double) - Method in class SuperPlayer
Calculates the distance between player and a fix point
getHeadAngle() - Method in class BodyInfo
The angle of the player's head
getTurnDir(Point2D.Double, double, double, double) - Method in class GlobalView
calcutes the turn angle in order to turn to a certain absolute position
getVector() - Method in class VisualEvent
The Vector which contains all the needed information about the visual messages from server
getX() - Method in class VisualInfo
The x-coordinates of the absolute position
getY() - Method in class VisualInfo
The y-coordinates of the absolute position
GlobalView - class GlobalView.
The class GlobalView is responsible for all needed calculations with absolute and relative coordinates
GlobalView(char, String) - Constructor for class GlobalView
Creates a new GlobalView instance.

I

init(String, int) - Method in class Parser
sends an init-command to the server
initialize() - Method in class GlobalView
goes 2 times through the the visualInfoVector and calculates the absolute position of the player, the absolute position of all other players that he see and of the ball if he sees it.
isAcousticEvent() - Method in class AcousticEvent
tests if there is an acoustic event incoming
isAcousticEvent() - Method in class Event
indicates that the event type is not a acoustic event
isBodyEvent() - Method in class BodyEvent
tests, if there is an body event incoming
isBodyEvent() - Method in class Event
indicates that the event type is not a body event
isVisualEvent() - Method in class Event
indicates that the event type is not a visual event
isVisualEvent() - Method in class VisualEvent
tests if there is an visual event incoming

K

kick(double, double) - Method in class Parser
Kicks into a given directions with a given power

M

main(String[]) - Static method in class Player
Starts the client
message() - Method in class AcousticInfo
The received message
move(double, double) - Method in class Parser
Places the player to a give position on the field

N

name() - Method in class VisualInfo
The name of the object

P

Parser - class Parser.
 
Parser(Communication) - Constructor for class Parser
creates a new Parser instance
Player - class Player.
This is the central class.
Player(String, int, String) - Constructor for class Player
Creates a new Player instance.
Player(String, int, String, int) - Constructor for class Player
Creates a new Player instance.

R

receive() - Method in class Communication
Receives a message from the server
run() - Method in class Player
This method overwrites run() from Thread.

S

say(double) - Method in class Parser
Says a message, which other players on the field can hear
searchBall(double, double, double) - Method in class SuperPlayer
Searches the ball
send(String) - Method in class Communication
Sends a String to the server
sender() - Method in class AcousticInfo
The sender of the message
setName(String) - Method in class VisualInfo
sets the parameter name when the information is not actual (only used for ball)
setPositionStart(int) - Method in class SuperPlayer
Sets all the players to their start position
setX(double) - Method in class VisualInfo
sets the parameter x when calculated
setY(double) - Method in class VisualInfo
sets the parameter y when calculated
side() - Method in class Parser
The current side of the team's own goal
SuperPlayer - class SuperPlayer.
 

T

time() - Method in class AcousticInfo
The current cycle
time() - Method in class VisualInfo
The time when the object has been perceived
turn(double) - Method in class Parser
Turns the body of the player on the field
turnNeck(double) - Method in class Parser
Turns the head of the player on the field

V

VisualEvent - class VisualEvent.
The classe transforms the visual server messages and writes it into a Vector
VisualEvent(String) - Constructor for class VisualEvent
creates a new VisualEvent instance
VisualInfo - class VisualInfo.
The class VisualInfo defines a new data type for saving all the needed information about a seen object.
visualInfoList - Variable in class VisualEvent
List of VisualInfo values (for instance information about flags, other players, ball etc.

A B C D E F G I K M N P R S T V