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

A

actor - Variable in class Player
the actor module of the client
Actor - class Actor.
The Actor class is used to get an abstraction of the plain text commands so that the can be used via methods.
Actor(CommunicationChannel) - Constructor for class Actor
Creates a new Actor instance.
add(ObjectPerception) - Method in class VisualEvent
adds an element to the list of perceived objects to the internal list

B

BodyEvent - class BodyEvent.
This class is used as an indicator that a sense_body message was was received.
BodyEvent() - Constructor for class BodyEvent
 

C

communicationChannel - Variable in class Actor
reference to the communicationChannel
CommunicationChannel - class CommunicationChannel.
CommunicationChannel The class handles UDP network traffic from/to the rcssserver.
CommunicationChannel(String, int) - Constructor for class CommunicationChannel
Creates a new CommunicationChannel instance.

D

dash(double) - Method in class Actor
Gives a running impulse
direction - Variable in class ObjectPerception
 
direction() - Method in class ObjectPerception
The direction in which the object was perceived
distance - Variable in class ObjectPerception
 
distance() - Method in class ObjectPerception
The distance in which the object was perceived

E

elements() - Method in class VisualEvent
return the perceived objects
Event - class Event.
The class Event is the superclass of all events to be represented during the game.
event() - Method in class Actor
Receives incoming messages from the server.
Event() - Constructor for class Event
 

I

init(String) - Method in class Actor
Registers itself to to the server specifying protocol version 7.0.
NOTE: If you don't use version 7.0, it may occur that you will not receive a sense_body event and that the names of the objects will be written in a different way like "flag" instead of "f".
isBodyEvent() - Method in class BodyEvent
indicates that the event is of type BodyEvent
isBodyEvent() - Method in class Event
indicates that the event type
isVisualEvent() - Method in class Event
indicates that the event type
isVisualEvent() - Method in class VisualEvent
indicates that the event is of type VisualEvent

K

kick(double, double) - Method in class Actor
Kicks into a given direction with given power

M

main(String[]) - Static method in class Player
Starts the client
move(double, double) - Method in class Actor
Places the player to a given position on the field.

N

name - Variable in class ObjectPerception
 
name() - Method in class ObjectPerception
The name of the object

O

ObjectPerception - class ObjectPerception.
This class is used to represent the perception of an object of the game.
ObjectPerception(int, String, double, double) - Constructor for class ObjectPerception
 
objectPerceptionList - Variable in class VisualEvent
List for the objects contained in an event e.g.

P

play() - Method in class Player
Processes the information gained and transforms it into a decision/action.
Player - class Player.
This is the central class of the Simpleclient.
Player(String, int, String) - Constructor for class Player
Creates a new Player instance.
PLAYING - Variable in class Player
constant defining the PLAYING status

R

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

S

send(String) - Method in class CommunicationChannel
Sends a String to the server
serverAddress - Variable in class CommunicationChannel
IP address of the server
serverPort - Variable in class CommunicationChannel
port number of the server
socket - Variable in class CommunicationChannel
socket for incoming, outgoing messages
START - Variable in class Player
constant defining the START status
status - Variable in class Player
current status the player is in; can be START or PLAYING

T

teamName - Variable in class Player
the name of the team (for initialization)
theBall - Variable in class Player
the current information regarding the ball
theGoal - Variable in class Player
the current information regarding the goal
time - Variable in class ObjectPerception
 
time - Variable in class Player
the actual timestamp of last visual event received
time() - Method in class ObjectPerception
The time when the object has been perceived
turn(double) - Method in class Actor
Turns the body of the client on the field.

V

VisualEvent - class VisualEvent.
This class parses all messages regarding visual information of the game, i.e.
VisualEvent(String) - Constructor for class VisualEvent
Creates a new VisualEvent instance, extracts the information contained and stores it in a list of ObjectPerception

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