game_client.h

Go to the documentation of this file.
00001 /* MAINTAINER: Bernard CURRENT_EDITOR: Bernard */
00002 
00003 #ifndef _GAME_CLIENT_H
00004 #define _GAME_CLIENT_H
00005 
00006 #include "game.h"
00007 #include "gamegui.h"
00008 #include "tracer.h"
00009 
00010 #include "player.h"
00011 
00012 class GameClient : public Game
00013 {
00014 
00015 public:
00016         GameClient(void);
00017         virtual ~GameClient(void);
00018 
00019         GameGUI& getGUI();
00020         
00024         virtual void run();
00025 
00026         
00027         // TODO: Nitramus: "I really need IMPLEMENTED getCamera(). 
00028         //      This requires getTank from Player but Player doesn't exist yet."
00029         /*
00030         *       \return Player's camera (actual camera on client, exactly).
00031         *       \note This isn't necessary tank's tracer. The tank doesn't have to 
00032         *               exist and this can be the "freelook camera" or whatever else.
00033         */
00034         Camera* getCamera();
00035         
00036         virtual void init();
00037 
00038         virtual void clean();
00039         
00045         Player *getClientPlayer();
00046         
00047 private:
00048         
00057         GameClient(GameClient &copy);
00058         
00059 
00060         GameGUI mGUI;
00061         
00062         Camera * mActualCamera; 
00063         
00064         //TODO: Do some tracer-managing. We could probably want to have got a tracer
00065         //      for the player's tank, for some team-tanks, for rockets, etc.
00066         Tracer mTankTracer;
00067 };
00068 
00069 #endif // _GAME_CLIENT_H

Generated on Wed Apr 12 13:55:28 2006 for bjs by  doxygen 1.4.5