
Public Member Functions | |
| eTeamColorConfig () | |
| ~eTeamColorConfig () | |
Private Types | |
| typedef tSettingItem< tString > | nameConf |
| typedef tSettingItem< unsigned short int > | colorConf |
Private Attributes | |
| colorConf * | m_red |
| colorConf * | m_green |
| colorConf * | m_blue |
| nameConf * | m_name |
Static Private Attributes | |
| static int | teamCount = 0 |
Definition at line 62 of file eTeam.cpp.
typedef tSettingItem<tString> eTeamColorConfig::nameConf [private] |
typedef tSettingItem<unsigned short int> eTeamColorConfig::colorConf [private] |
| eTeamColorConfig::eTeamColorConfig | ( | ) | [inline] |
Definition at line 69 of file eTeam.cpp.
References m_blue, m_green, m_name, m_red, se_team_rgb, and teamCount.
00069 { 00070 std::ostringstream name(""), red(""), green(""), blue(""); 00071 name << "TEAM_NAME_" << teamCount + 1; 00072 red << "TEAM_RED_" << teamCount + 1; 00073 green << "TEAM_GREEN_" << teamCount + 1; 00074 blue << "TEAM_BLUE_" << teamCount + 1; 00075 m_name = new nameConf (name .str().c_str(), se_team_name[teamCount]); 00076 m_red = new colorConf(red .str().c_str(), se_team_rgb [teamCount][0]); 00077 m_green = new colorConf(green.str().c_str(), se_team_rgb [teamCount][1]); 00078 m_blue = new colorConf(blue .str().c_str(), se_team_rgb [teamCount][2]); 00079 ++teamCount; 00080 }
| eTeamColorConfig::~eTeamColorConfig | ( | ) | [inline] |
colorConf* eTeamColorConfig::m_red [private] |
colorConf * eTeamColorConfig::m_green [private] |
colorConf * eTeamColorConfig::m_blue [private] |
nameConf* eTeamColorConfig::m_name [private] |
int eTeamColorConfig::teamCount = 0 [static, private] |
1.5.4