00001 /* MAINATINER: Bernard CURENT_EDITOR: Bernard */ 00002 00003 #ifndef _APPLICATION_CLIENT_H 00004 #define _APPLICATION_CLIENT_H 00005 00006 #include "sfx.h" 00007 #include "gfx.h" 00008 #include "application.h" 00009 #include "game_client.h" 00010 00011 #include "commander_client.h" 00012 00013 #include "globals_client.h" 00014 #include "inputmanager.h" 00015 00016 #include "console.h" 00017 00018 class ApplicationClient : public Application 00019 { 00020 public: 00021 ApplicationClient(); 00022 ~ApplicationClient(); 00023 00024 00025 void init(); 00026 00027 void run(); 00028 00029 void clean(); 00030 00031 GFX& getGFX(); 00032 SFX& getSFX(); 00033 00034 GameClient& getGame(); 00035 virtual Game* getGameCommon(); 00036 00037 Commander& getCommander(); 00038 00044 InputManager& getInputManager(); 00045 00046 00052 Console& getConsole(); 00053 00054 00055 00056 private: 00065 ApplicationClient(ApplicationClient ©); 00066 00067 protected: 00068 00069 InputManager mInputManager; 00070 00071 GFX mGFX; 00072 SFX mSFX; 00073 00074 GameClient mGameClient; 00075 00076 Console mConsole; 00077 00078 CommanderClient mCommanderClient; 00079 }; 00080 00081 #endif // _APPLICATION_CLIENT_H
1.4.5