Danbias/Code/Game/DanBiasGame/GameClientState/LobbyState.h

43 lines
920 B
C
Raw Normal View History

#ifndef DANBIAS_CLIENT_LOBBYSTATE_H
#define DANBIAS_CLIENT_LOBBYSTATE_H
2013-12-09 12:01:36 +01:00
#include "GameClientState.h"
#include "OysterMath.h"
2014-01-30 11:58:44 +01:00
#include "NetworkClient.h"
#include <string>
namespace DanBias
{
namespace Client
{
class LobbyState : public GameClientState
{
private:
2014-01-30 11:58:44 +01:00
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
bool Render(float dt);
bool Release();
2013-12-13 12:02:49 +01:00
void Protocol(ProtocolStruct* protocol)override;
void PlayerJoinProtocol(PlayerName* name);
2014-01-31 13:56:22 +01:00
void GameStarted();
2013-12-13 12:02:49 +01:00
};};};
2013-12-09 12:01:36 +01:00
#endif // ! DANBIAS_CLIENT_GAMECLIENTSTATE_H