ProgrammierMethodik 2002 - RoboCup

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

RCPlayer Class Reference

The RCPlayer class represents one player. More...

Inheritance diagram for RCPlayer::

Thread List of all members.

Public Methods

 RCPlayer (String TeamName, boolean Visual, String Hostname, int Port, boolean Goalie, float X1, float Y1, float X2, float Y2, RCLog Log)
 Constructor for the RCPlayer class. More...

void run ()
 This function is for starting the player(the thread). More...

boolean isVisible ()
 return true if the RCDisplay is visible. More...

void setVisible (boolean Visible)
 activate or deactivate the the visualisation for the player. More...


Public Attributes

RCDisplay Display
 Associations. More...

RCWorld World
RCBrain Brain
RCCommunicator Communicator
RCLog Log

Detailed Description

The RCPlayer class represents one player.

It creates all all the sub components and put them together.

Definition at line 44 of file RCPlayer.java.


Constructor & Destructor Documentation

RCPlayer::RCPlayer ( String TeamName,
boolean Visual,
String Hostname,
int Port,
boolean Goalie,
float X1,
float Y1,
float X2,
float Y2,
RCLog Log ) [inline]
 

Constructor for the RCPlayer class.

Parameters:
TeamName   name of the the team
Area   area were we should play
Visual   activate world visual.
Hostname   hostname of the server
Port   port of the server
Goalie   are we goale

Definition at line 62 of file RCPlayer.java.


Member Function Documentation

boolean RCPlayer::isVisible ( ) [inline]
 

return true if the RCDisplay is visible.

Returns:
the state of the visualisation

Definition at line 113 of file RCPlayer.java.

Referenced by RCTeam::main().

void RCPlayer::run ( ) [inline]
 

This function is for starting the player(the thread).

Definition at line 100 of file RCPlayer.java.

void RCPlayer::setVisible ( boolean Visible ) [inline]
 

activate or deactivate the the visualisation for the player.

Parameters:
Visible   determine the action

Definition at line 122 of file RCPlayer.java.

Referenced by RCTeam::main().


Member Data Documentation

RCBrain RCPlayer::Brain
 

Definition at line 48 of file RCPlayer.java.

RCCommunicator RCPlayer::Communicator
 

Definition at line 49 of file RCPlayer.java.

RCDisplay RCPlayer::Display
 

Associations.

Definition at line 46 of file RCPlayer.java.

RCLog RCPlayer::Log
 

Definition at line 50 of file RCPlayer.java.

RCWorld RCPlayer::World
 

Definition at line 47 of file RCPlayer.java.


The documentation for this class was generated from the following file:
(c) Copyright by Gruppe 1 :