Public Member Functions | |
gMenuItemSpectate (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 121 of file gTeam.cpp.
gMenuItemSpectate::gMenuItemSpectate | ( | uMenu * | M, | |
ePlayerNetID * | p | |||
) | [inline] |
virtual void gMenuItemSpectate::Render | ( | REAL | x, | |
REAL | y, | |||
REAL | alpha = 1 , |
|||
bool | selected = 0 | |||
) | [inline, virtual] |
Reimplemented from uMenuItem.
Definition at line 131 of file gTeam.cpp.
References uMenuItem::DisplayTextSpecial(), and se_TeamMenu_Team_Ok.
00132 { 00133 DisplayTextSpecial( x, y, se_TeamMenu_Team_Ok+(const char*)tOutput("$team_menu_spectate"), selected, alpha ); 00134 }
virtual void gMenuItemSpectate::Enter | ( | ) | [inline, virtual] |
Reimplemented from uMenuItem.
Definition at line 136 of file gTeam.cpp.
References uMenu::Exit(), uMenuItem::menu, NULL, player, and ePlayerNetID::SetTeamWish().
00137 { 00138 player->SetTeamWish(NULL); 00139 menu->Exit(); 00140 }
ePlayerNetID* gMenuItemSpectate::player [private] |