2014-02-19 13:15:19 +01:00
|
|
|
#ifndef DANBIAS_CLIENT_GAMING_UI_H
|
|
|
|
#define DANBIAS_CLIENT_GAMING_UI_H
|
|
|
|
|
|
|
|
#include "GameStateUI.h"
|
2014-02-20 16:55:34 +01:00
|
|
|
#include "Input.h"
|
2014-02-19 13:15:19 +01:00
|
|
|
#include "Camera_FPSV2.h"
|
|
|
|
|
|
|
|
namespace DanBias { namespace Client
|
|
|
|
{
|
|
|
|
class GamingUI : public GameStateUI
|
|
|
|
{
|
|
|
|
public:
|
2014-02-20 16:55:34 +01:00
|
|
|
GamingUI( ::Input::Mouse *mouseInput, ::Input::Keyboard *keyboardInput, ::Oyster::Network::NetworkClient *connection, Camera_FPSV2 *camera );
|
2014-02-19 13:15:19 +01:00
|
|
|
virtual ~GamingUI();
|
|
|
|
|
|
|
|
UIState Update( float deltaTime );
|
|
|
|
bool HaveGUIRender() const;
|
|
|
|
bool HaveTextRender() const;
|
|
|
|
void RenderGUI() const;
|
|
|
|
void RenderText() const;
|
|
|
|
bool Release();
|
|
|
|
|
|
|
|
private:
|
2014-02-20 16:55:34 +01:00
|
|
|
::Input::Mouse *mouseInput;
|
|
|
|
::Input::Keyboard *keyboardInput;
|
2014-02-19 13:15:19 +01:00
|
|
|
::Oyster::Network::NetworkClient *netClient;
|
|
|
|
Camera_FPSV2 *camera;
|
|
|
|
|
|
|
|
GamingUI();
|
|
|
|
void ReadKeyInput();
|
|
|
|
};
|
|
|
|
} }
|
|
|
|
|
|
|
|
#endif
|