#include <penalty_kick_state.h>
Public メソッド | |
PenaltyKickState () | |
init member variables | |
const GameTime & | time () const |
get time when playmode is changed | |
SideID | onfieldSide () const |
get side of used goal | |
SideID | currentTakerSide () const |
get current kick taker side | |
int | ourTakerCounter () const |
get trial count for our team | |
int | theirTakerCounter () const |
get trial count for opponent team | |
int | ourScore () const |
get current our PK score | |
int | theirScore () const |
get current opponent PK score | |
void | update (const GameMode &game_mode, const SideID ourside, const GameTime ¤t) |
update status using refeee message |
const GameTime& rcsc::PenaltyKickState::time | ( | ) | const [inline] |
get time when playmode is changed
SideID rcsc::PenaltyKickState::onfieldSide | ( | ) | const [inline] |
get side of used goal
SideID rcsc::PenaltyKickState::currentTakerSide | ( | ) | const [inline] |
get current kick taker side
int rcsc::PenaltyKickState::ourTakerCounter | ( | ) | const [inline] |
get trial count for our team
int rcsc::PenaltyKickState::theirTakerCounter | ( | ) | const [inline] |
get trial count for opponent team
int rcsc::PenaltyKickState::ourScore | ( | ) | const [inline] |
get current our PK score
int rcsc::PenaltyKickState::theirScore | ( | ) | const [inline] |
get current opponent PK score
void rcsc::PenaltyKickState::update | ( | const GameMode & | game_mode, | |
const SideID | ourside, | |||
const GameTime & | current | |||
) |
update status using refeee message
game_mode | playmode info | |
ourside | our team side Id | |
current | current game time |