gMenuItemSpectate Class Reference

Inheritance diagram for gMenuItemSpectate:

Inheritance graph
[legend]
Collaboration diagram for gMenuItemSpectate:

Collaboration graph
[legend]

List of all members.

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

ePlayerNetIDplayer


Detailed Description

Definition at line 121 of file gTeam.cpp.


Constructor & Destructor Documentation

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

Definition at line 125 of file gTeam.cpp.

00126             : uMenuItem( M, tOutput("$team_menu_spectate_help") ),
00127             player ( p )
00128     {
00129     }


Member Function Documentation

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     }

Here is the call graph for this function:

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     }

Here is the call graph for this function:


Member Data Documentation

ePlayerNetID* gMenuItemSpectate::player [private]

Definition at line 123 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:34 2008 for Armagetron Advanced by  doxygen 1.5.4