Calculates the new Vector objects for all SimObjects
present in the match, collisions are first determined
and when collisions have occured: the proper new Vector
is calculated for the SimObjects involved in the collision
Detects a possible collision detection between 2 SimObjects using
a bounding box technique: first test if a collision is possible
using the x axis difference (delta x), then followed by the delta
y test. if both are passed a collision might occur.
The class CommSnapShotObject contains the structure of a CommSnapShotObject object,
these objects can be added to a SnapShot object, which can be send.
Returns a camera given two orientation points,
the eye and lookat points (eye indicates the position
of the camera whilest the lookat indicates the
position the camera should look at
returns the normal line of this line to point fX, fY HAVE TO BE REWRITTEN
if the normal line does not intersect this line, a line from the
closest point of this line to the specified point will be returned
Returns the substring of the specified string up to iNumersAfterDot positions after the dot,
When the string does not contain a dot, the whole string will be returned
Call goal scored by team, the argumented team number
will be the team which has scored, the startpositions
for the opponent team will be loaded as they will be
in ball posession after a goal has been scored
Call goal scored by team, the argumented team number
will be the team which has scored, the startpositions
for the opponent team will be loaded as they will be
in ball posession after a goal has been scored
This Constructor constructs a new Gui3DGoal with center on
position fx,fz and rotate the Gui3DGoal with an Y-rotation
the fYPos is the thickness or height of the Gui3DGoal
indicates which mode the simulator is in. possible values are:
- 0 => default mode, when in this mode the simulator can be changed, matches
are played etc.
Changes current vector positions and headings in such a manner that
all robots and the ball are changed of half (mirrored in length and
width of the field.
Implements the java.awt.event.MouseMotionListener interface,
when mouse is dragged the begin and end mouse pointer positions
are detected and used here
A referee interface, responsible for all actions a referee is,
such as calling situations in the match like:
- free kick
- free ball
- goal kick
- start positions
- penalty kick
This method is called to start all the threads which the CommAdmin object contains,
after the thread have been started, received Wheel information will be put in the lastReceivedWheels array.