EDU.gatech.cc.is.simulation
Interface SocRef

All Known Implementing Classes:
GolfBallSim

public interface SocRef

methods of a Soccer Referee. For this simulation system they are implemented by the ball. That's right, the ball is the referee.

Copyriht (c)2000 Tucker Balch


Method Summary
 boolean eastJustScored()
          True if the east team scored during the last timestep.
 boolean eastKickOff()
          True if the east team gets to kick off this time.
 boolean playBall()
          True if the game is underway.
 boolean westJustScored()
          True if the west team scored during the last timestep.
 boolean westKickOff()
          True if the west team gets to kick off this time.
 

Method Detail

playBall

public boolean playBall()
True if the game is underway. False means the players should return to their starting positions.

eastKickOff

public boolean eastKickOff()
True if the east team gets to kick off this time.

westKickOff

public boolean westKickOff()
True if the west team gets to kick off this time.

eastJustScored

public boolean eastJustScored()
True if the east team scored during the last timestep.

westJustScored

public boolean westJustScored()
True if the west team scored during the last timestep.