Public Member Functions | |
gMenuItemAutoSelect (uMenu *M, ePlayerNetID *p) | |
virtual void | Render (REAL x, REAL y, REAL alpha=1, bool selected=0) |
virtual void | Enter () |
Private Attributes | |
ePlayerNetID * | player |
Definition at line 143 of file gTeam.cpp.
gMenuItemAutoSelect::gMenuItemAutoSelect | ( | uMenu * | M, | |
ePlayerNetID * | p | |||
) | [inline] |
virtual void gMenuItemAutoSelect::Render | ( | REAL | x, | |
REAL | y, | |||
REAL | alpha = 1 , |
|||
bool | selected = 0 | |||
) | [inline, virtual] |
Reimplemented from uMenuItem.
Definition at line 153 of file gTeam.cpp.
References uMenuItem::DisplayTextSpecial(), and se_TeamMenu_Team_Ok.
00154 { 00155 DisplayTextSpecial( x, y, se_TeamMenu_Team_Ok+(const char*)tOutput("$team_menu_auto"), selected, alpha ); 00156 }
virtual void gMenuItemAutoSelect::Enter | ( | ) | [inline, virtual] |
Reimplemented from uMenuItem.
Definition at line 158 of file gTeam.cpp.
References uMenu::Exit(), uMenuItem::menu, player, and ePlayerNetID::SetDefaultTeam().
00159 { 00160 player->SetDefaultTeam(); 00161 menu->Exit(); 00162 }
ePlayerNetID* gMenuItemAutoSelect::player [private] |