クラス rcsc::PenaltyKickState

penalty kick status manager [詳細]

#include <penalty_kick_state.h>

すべてのメンバ一覧

Public メソッド

 PenaltyKickState ()
 init member variables
const GameTimetime () 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 &current)
 update status using refeee message


説明

penalty kick status manager


関数

const GameTime& rcsc::PenaltyKickState::time (  )  const [inline]

get time when playmode is changed

戻り値:
game time

SideID rcsc::PenaltyKickState::onfieldSide (  )  const [inline]

get side of used goal

戻り値:
side Id

SideID rcsc::PenaltyKickState::currentTakerSide (  )  const [inline]

get current kick taker side

戻り値:
side Id

int rcsc::PenaltyKickState::ourTakerCounter (  )  const [inline]

get trial count for our team

戻り値:
current trial count

int rcsc::PenaltyKickState::theirTakerCounter (  )  const [inline]

get trial count for opponent team

戻り値:
current trial count

int rcsc::PenaltyKickState::ourScore (  )  const [inline]

get current our PK score

戻り値:
score value

int rcsc::PenaltyKickState::theirScore (  )  const [inline]

get current opponent PK score

戻り値:
score value

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


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:27 2008に生成されました。  doxygen 1.5.0