#include <types.h>
Public メソッド | |
TeamT () | |
initialize all variables by 0 | |
TeamT (const char *name, const UInt16 score, const UInt16 pen_score, const UInt16 pen_miss) | |
initialize all variables by specified values | |
void | clear () |
clear all variables | |
int | penaltyTrial () const |
get the total penalty trial count | |
bool | equals (const TeamT &other) const |
check if artument variable has same values. | |
Public 変数 | |
std::string | name_ |
team name string | |
UInt16 | score_ |
total scores in normal game | |
UInt16 | pen_score_ |
count of penalty score | |
UInt16 | pen_miss_ |
count of penalty miss |
rcsc::rcg::TeamT::TeamT | ( | const char * | name, | |
const UInt16 | score, | |||
const UInt16 | pen_score, | |||
const UInt16 | pen_miss | |||
) | [inline] |
initialize all variables by specified values
name | team name | |
score | total score | |
pen_score | count of penalty score | |
pen_miss | count of penalty miss |
int rcsc::rcg::TeamT::penaltyTrial | ( | ) | const [inline] |
get the total penalty trial count
bool rcsc::rcg::TeamT::equals | ( | const TeamT & | other | ) | const [inline] |
check if artument variable has same values.
other | compared variable. |