2013-12-10 11:26:18 +01:00
|
|
|
#ifndef DANBIAS_CLIENT_LOBBYSTATE_H
|
|
|
|
#define DANBIAS_CLIENT_LOBBYSTATE_H
|
2013-12-09 12:01:36 +01:00
|
|
|
|
2013-12-06 10:38:43 +01:00
|
|
|
#include "GameClientState.h"
|
2013-12-10 11:26:18 +01:00
|
|
|
#include "OysterMath.h"
|
2014-01-30 11:58:44 +01:00
|
|
|
#include "NetworkClient.h"
|
2013-12-10 11:26:18 +01:00
|
|
|
#include <string>
|
2013-12-06 10:38:43 +01:00
|
|
|
namespace DanBias
|
|
|
|
{
|
|
|
|
namespace Client
|
2014-02-12 09:15:41 +01:00
|
|
|
{
|
|
|
|
class LobbyState : public GameClientState
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
Oyster::Network::NetworkClient* nwClient;
|
|
|
|
struct myData;
|
|
|
|
myData* privData;
|
|
|
|
public:
|
|
|
|
LobbyState(void);
|
|
|
|
~LobbyState(void);
|
|
|
|
bool Init(Oyster::Network::NetworkClient* nwClient);
|
|
|
|
bool LoadModels(std::wstring file);
|
|
|
|
bool InitCamera(Oyster::Math::Float3 startPos);
|
|
|
|
ClientState Update(float deltaTime, InputClass* KeyInput);
|
|
|
|
// create session lobby
|
|
|
|
// join session lobby
|
|
|
|
// set name
|
|
|
|
// set rules
|
|
|
|
// set map
|
|
|
|
// ready
|
|
|
|
// chat
|
|
|
|
// kick
|
2013-12-10 11:26:18 +01:00
|
|
|
|
2014-02-12 09:15:41 +01:00
|
|
|
bool Render();
|
|
|
|
bool Release();
|
2013-12-13 12:02:49 +01:00
|
|
|
|
2014-02-12 09:15:41 +01:00
|
|
|
void DataRecieved( ::Oyster::Network::NetEvent<NetworkClient*, ClientEventArgs> e );
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
2013-12-09 12:01:36 +01:00
|
|
|
#endif // ! DANBIAS_CLIENT_GAMECLIENTSTATE_H
|