Public Member Functions | |
gMenuItemPlayerTeam (uMenu *M, ePlayerNetID *p, eTeam *t) | |
virtual void | Render (REAL x, REAL y, REAL alpha=1, bool selected=0) |
virtual void | Enter () |
Private Attributes | |
tJUST_CONTROLLED_PTR < ePlayerNetID > | player |
tJUST_CONTROLLED_PTR< eTeam > | team |
Definition at line 73 of file gTeam.cpp.
gMenuItemPlayerTeam::gMenuItemPlayerTeam | ( | uMenu * | M, | |
ePlayerNetID * | p, | |||
eTeam * | t | |||
) | [inline] |
virtual void gMenuItemPlayerTeam::Render | ( | REAL | x, | |
REAL | y, | |||
REAL | alpha = 1 , |
|||
bool | selected = 0 | |||
) | [inline, virtual] |
Reimplemented from uMenuItem.
Definition at line 85 of file gTeam.cpp.
References uMenuItem::DisplayTextSpecial(), player, PrepareTeamText(), and team.
00086 { 00087 tOutput text; 00088 PrepareTeamText(&text, team, player, "$team_menu_join"); 00089 DisplayTextSpecial( x, y, text, selected, alpha ); 00090 }
virtual void gMenuItemPlayerTeam::Enter | ( | ) | [inline, virtual] |
tJUST_CONTROLLED_PTR< ePlayerNetID > gMenuItemPlayerTeam::player [private] |
tJUST_CONTROLLED_PTR< eTeam > gMenuItemPlayerTeam::team [private] |