GT RoboCup SSL
Soccer software, robot firmware
|
Holds the state of the game according to the referee. More...
Public Member Functions | |
bool | isFirstHalf () const |
bool | isSecondHalf () const |
bool | isHalftime () const |
bool | isOvertime1 () const |
bool | isOvertime2 () const |
bool | isPenaltyShootout () const |
bool | halt () const |
bool | stopped () const |
bool | playing () const |
bool | kickoff () const |
bool | penalty () const |
bool | placement () const |
bool | isOurRestart () const |
bool | direct () const |
bool | indirect () const |
bool | ourKickoff () const |
bool | ourPenalty () const |
bool | ourDirect () const |
bool | ourIndirect () const |
bool | ourFreeKick () const |
bool | ourPlacement () const |
bool | theirKickoff () const |
bool | theirPenalty () const |
bool | theirDirect () const |
bool | theirIndirect () const |
bool | theirFreeKick () const |
bool | theirPlacement () const |
bool | setupRestart () const |
bool | inSetupState () const |
bool | inReadyState () const |
bool | canKick () const |
bool | stayAwayFromBall () const |
bool | stayOnSide () const |
bool | stayBehindPenaltyLine () const |
void | setBallPlacementPoint (float x, float y) |
Geometry2d::Point | getBallPlacementPoint () const |
uint | getGoalieId () const |
Public Attributes | |
Period | period |
State | state |
Restart | restart |
bool | ourRestart |
int | ourScore |
int | theirScore |
int | secondsRemaining |
TeamInfo | OurInfo |
TeamInfo | TheirInfo |
Geometry2d::Point | ballPlacementPoint |
Holds the state of the game according to the referee.
Contains information on what period of the game it is, what type of play to run, team scores, time remaining, etc. During normal gameplay, the information in this class is received from the ssl refbox program over the network.