EDU.gatech.cc.is.simulation
Class GolfBallNoiseSim
java.lang.Object
|
+--EDU.gatech.cc.is.simulation.AttractorSim
|
+--EDU.gatech.cc.is.simulation.GolfBallSim
|
+--EDU.gatech.cc.is.simulation.GolfBallNoiseSim
- public class GolfBallNoiseSim
- extends GolfBallSim
A noisy golfball for RoboCup Soccer.
Introduction
GolfBallNoiseSim implements a golf ball for RoboCup
soccer simulations. The ball is also the scorekeeper and
the referee; after all who would know better whether a
scoring event occured?
A "shot clock" keeps track of how long since a scoring
event occured. If it times-out, the ball is reset to the
center of the field.
Copyright (c)2000 Tucker Balch
Fields inherited from class EDU.gatech.cc.is.simulation.AttractorSim |
all_objects,
background,
bottom,
DEBUG,
deposited,
foreground,
left,
picked_up,
position,
RADIUS,
rando,
right,
seed,
top,
unique_id,
visionclass |
Methods inherited from class EDU.gatech.cc.is.simulation.AttractorSim |
checkCollision,
checkCollision,
clearTrail,
draw,
drawIcon,
drawID,
drawState,
drawTrail,
getCenter,
getClosestPoint,
getID,
getPosition,
getVisionClass,
init,
isObstacle,
isPickupable,
isPushable,
pickUp,
putDown,
quit,
receive,
setID,
setTrailLength,
setVisionClass |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GolfBallNoiseSim
public GolfBallNoiseSim()
push
public void push(Vec2 d,
Vec2 v)
- Handle a push. This is how to kick or push the ball.
- Overrides:
- push in class GolfBallSim
- Tags copied from interface: SimulatedObject
- Parameters:
d
- the direction and distance of the push.v
- the velocity of the push.