gMenuItemNewTeam Class Reference

Inheritance diagram for gMenuItemNewTeam:

Inheritance graph
[legend]
Collaboration diagram for gMenuItemNewTeam:

Collaboration graph
[legend]

List of all members.

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

ePlayerNetIDplayer


Detailed Description

Definition at line 99 of file gTeam.cpp.


Constructor & Destructor Documentation

gMenuItemNewTeam::gMenuItemNewTeam ( uMenu M,
ePlayerNetID p 
) [inline]

Definition at line 103 of file gTeam.cpp.

00104             : uMenuItem( M, tOutput("$team_menu_create_help") ),
00105             player ( p )
00106     {
00107     }


Member Function Documentation

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     }

Here is the call graph for this function:

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     }

Here is the call graph for this function:


Member Data Documentation

ePlayerNetID* gMenuItemNewTeam::player [private]

Definition at line 101 of file gTeam.cpp.

Referenced by Enter().


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:40:20 2008 for Armagetron Advanced by  doxygen 1.5.4