2013-12-10 11:26:18 +01:00
|
|
|
#ifndef DANBIAS_CLIENT_GAMECLIENTSTATE_H
|
|
|
|
#define DANBIAS_CLIENT_GAMECLIENTSTATE_H
|
|
|
|
|
2013-12-09 09:23:39 +01:00
|
|
|
#define NOMINMAX
|
|
|
|
#include "L_inputClass.h"
|
2013-12-16 09:45:12 +01:00
|
|
|
#include "NetworkClient.h"
|
2013-12-09 09:23:39 +01:00
|
|
|
|
2014-02-11 14:47:57 +01:00
|
|
|
namespace DanBias { namespace Client
|
2013-12-06 10:38:43 +01:00
|
|
|
{
|
2014-02-12 09:02:44 +01:00
|
|
|
class GameClientState : public ::Oyster::Network::NetworkClient
|
2013-12-13 12:02:49 +01:00
|
|
|
{
|
2014-02-11 14:47:57 +01:00
|
|
|
public:
|
|
|
|
enum ClientState
|
|
|
|
{
|
|
|
|
ClientState_Login,
|
|
|
|
ClientState_Lobby,
|
|
|
|
ClientState_Lan,
|
|
|
|
ClientState_LobbyCreated,
|
|
|
|
ClientState_Game,
|
|
|
|
ClientState_Same,
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
GameClientState(void);
|
|
|
|
virtual ~GameClientState(void);
|
|
|
|
virtual bool Init(Oyster::Network::NetworkClient* nwClient) = 0;
|
|
|
|
virtual ClientState Update(float deltaTime, InputClass* KeyInput) = 0;
|
|
|
|
virtual bool Render() = 0;
|
|
|
|
virtual bool Release() = 0;
|
|
|
|
};
|
|
|
|
} }
|
2013-12-10 11:26:18 +01:00
|
|
|
#endif
|