Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

/home/rdbrown/doxygen/cse125g1/src/game/client/scoremenu.h

00001 #ifndef _MM_SCOREMENU_H_
00002 #define _MM_SCOREMENU_H_
00003 
00004 //#include <vector>
00005 #include "net/Game.h"
00006 #include "net/Player.h"
00007 #include "menu/baseGUIObject.h"
00008 //#include "client.h"
00009 //#include "net/MMNet.h"//#include "tnl/tnl.h"
00010 
00011 //class ScoreMenu: public GameState {
00012 #define DRAW_TIME_LIMIT 50
00013 class ScoreMenu {
00014       public:
00015 
00016                 //ScoreMenu(MMNet::NetClient *client, MMNet::Game * game);
00017                 ScoreMenu(MMNet::Game * game);
00018         
00019         void init();
00020         void update();
00021         void exit();
00022                 void draw();
00023                 void toggleDraw();
00024                 void render();
00025                 
00026 
00027 
00028     private:
00029                 int isDraw;
00030         void display();
00031 
00032                 char * buffer;
00033         //gui information
00034         int x;
00035         int y;
00036                 int knightKills;
00037                 int knightDeaths;
00038                 int thiefKills;
00039                 int thiefDeaths;
00040                 int otherKills;
00041                 int otherDeaths;
00042                 int numPlayers;
00043                 MMNet::Game * game;
00044 
00045                 JMenu::Textfield * Kills_tf;
00046         JMenu::Textfield * Deaths_tf;
00047         JMenu::Textfield * PlayerNames_tf;
00048 
00049                 JMenu::Textfield ** Kills;
00050         JMenu::Textfield ** Deaths;
00051         JMenu::Textfield ** PlayerNames;
00052         JMenu::Textfield * temp;
00053                 JMenu::Textfield * knightKills_tf;
00054                 JMenu::Textfield * knightDeaths_tf;
00055                 JMenu::Textfield * thiefKills_tf;
00056                 JMenu::Textfield * thiefDeaths_tf;
00057                 JMenu::Textfield * otherKills_tf;
00058                 JMenu::Textfield * otherDeaths_tf;
00059 
00060                 JMenu::Textfield * killsTitle_tf;
00061                 JMenu::Textfield * deathsTitle_tf;
00062                 JMenu::Textfield * knightTitle_tf;
00063                 JMenu::Textfield * thiefTitle_tf;
00064                 JMenu::Textfield * otherTitle_tf;
00065 
00066 };
00067 
00068 #endif

Generated on Thu Aug 18 16:03:09 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18