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

43 lines
934 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>
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
namespace DanBias
{
namespace Client
2014-02-12 09:15:41 +01:00
{
class LobbyState : public GameClientState
{
public:
LobbyState(void);
~LobbyState(void);
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