Public Member Functions | |
gMenuItemNewTeam (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 99 of file gTeam.cpp.
gMenuItemNewTeam::gMenuItemNewTeam | ( | uMenu * | M, | |
ePlayerNetID * | p | |||
) | [inline] |
virtual void gMenuItemNewTeam::Render | ( | REAL | x, | |
REAL | y, | |||
REAL | alpha = 1 , |
|||
bool | selected = 0 | |||
) | [inline, virtual] |
Reimplemented from uMenuItem.
Definition at line 109 of file gTeam.cpp.
References uMenuItem::DisplayTextSpecial(), and se_TeamMenu_Team_Ok.
00110 { 00111 DisplayTextSpecial( x, y, se_TeamMenu_Team_Ok+(const char*)tOutput(+"$team_menu_create"), selected, alpha ); 00112 }
virtual void gMenuItemNewTeam::Enter | ( | ) | [inline, virtual] |
Reimplemented from uMenuItem.
Definition at line 114 of file gTeam.cpp.
References ePlayerNetID::CreateNewTeamWish(), uMenu::Exit(), uMenuItem::menu, and player.
00115 { 00116 player->CreateNewTeamWish(); 00117 menu->Exit(); 00118 }
ePlayerNetID* gMenuItemNewTeam::player [private] |