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>
|
2014-02-13 13:30:14 +01:00
|
|
|
|
|
|
|
// Feature wishlist:
|
|
|
|
// create session lobby
|
|
|
|
// join session lobby
|
|
|
|
// set name
|
|
|
|
// set rules
|
|
|
|
// set map
|
|
|
|
// ready
|
|
|
|
// chat
|
|
|
|
// kick
|
|
|
|
|
2013-12-06 10:38:43 +01:00
|
|
|
namespace DanBias
|
|
|
|
{
|
|
|
|
namespace Client
|
2014-02-12 09:15:41 +01:00
|
|
|
{
|
|
|
|
class LobbyState : public GameClientState
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LobbyState(void);
|
|
|
|
~LobbyState(void);
|
2013-12-10 11:26:18 +01:00
|
|
|
|
2014-02-13 13:30:14 +01:00
|
|
|
bool Init( Oyster::Network::NetworkClient* nwClient );
|
|
|
|
ClientState Update( float deltaTime, InputClass* KeyInput );
|
2014-02-12 09:15:41 +01:00
|
|
|
bool Render();
|
|
|
|
bool Release();
|
2014-02-12 16:31:15 +01:00
|
|
|
void ChangeState( ClientState next );
|
2014-02-12 10:43:06 +01:00
|
|
|
void DataRecieved( ::Oyster::Network::NetEvent<::Oyster::Network::NetworkClient*, ::Oyster::Network::NetworkClient::ClientEventArgs> e );
|
2014-02-13 13:30:14 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
struct MyData;
|
|
|
|
::Utility::DynamicMemory::UniquePointer<MyData> privData;
|
2014-02-12 09:15:41 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
2013-12-09 12:01:36 +01:00
|
|
|
#endif // ! DANBIAS_CLIENT_GAMECLIENTSTATE_H
|