ProgrammierMethodik 2002 - RoboCup

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

RCObject Class Reference

This class is the representation of all movable objects on the field. More...

List of all members.

Public Methods

 RCObject ()
 Construktor. More...

double X (int History)
 access to X-Value history. More...

double Y (int History)
 access to X-Value history. More...

int Time (int History)
 access to TimeValue history. More...

void insertX (double Value)
 add a value to history. More...

void insertY (double Value)
 add a value to history. More...

void insertTime (int Time)
 add a timestamp value to history. More...


Public Attributes

LinkedList XList
 Attributes. More...

LinkedList YList
LinkedList TimeList
int HistoryLength


Detailed Description

This class is the representation of all movable objects on the field.

Definition at line 24 of file RCObject.java.


Constructor & Destructor Documentation

RCObject::RCObject ( ) [inline]
 

Construktor.

Definition at line 34 of file RCObject.java.


Member Function Documentation

int RCObject::Time ( int History ) [inline]
 

access to TimeValue history.

Parameters:
History  
Returns:
int timestamp to history value

Definition at line 82 of file RCObject.java.

double RCObject::X ( int History ) [inline]
 

access to X-Value history.

Parameters:
History  
Returns:
double

Definition at line 50 of file RCObject.java.

Referenced by RCViewPort::paint(), RCBrain::shoot(), RCGoalieBrain::update(), and RCBrain::update().

double RCObject::Y ( int History ) [inline]
 

access to X-Value history.

Parameters:
History  
Returns:
double y-value to History

Definition at line 66 of file RCObject.java.

Referenced by RCViewPort::paint(), RCBrain::shoot(), RCGoalieBrain::update(), and RCBrain::update().

void RCObject::insertTime ( int Time ) [inline]
 

add a timestamp value to history.

Parameters:
Time   value to insert in history

Definition at line 119 of file RCObject.java.

Referenced by RCWorld::receiveEvent().

void RCObject::insertX ( double Value ) [inline]
 

add a value to history.

Parameters:
Value   the value to insert

Definition at line 97 of file RCObject.java.

Referenced by RCWorld::receiveEvent().

void RCObject::insertY ( double Value ) [inline]
 

add a value to history.

Parameters:
Value   the value to insert

Definition at line 108 of file RCObject.java.

Referenced by RCWorld::receiveEvent().


Member Data Documentation

int RCObject::HistoryLength
 

Definition at line 29 of file RCObject.java.

LinkedList RCObject::TimeList
 

Definition at line 28 of file RCObject.java.

LinkedList RCObject::XList
 

Attributes.

Definition at line 26 of file RCObject.java.

LinkedList RCObject::YList
 

Definition at line 27 of file RCObject.java.


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