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

43 lines
810 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:
2014-02-17 11:27:43 +01:00
LobbyState();
~LobbyState();
2014-02-17 11:27:43 +01:00
bool Init( SharedStateContent &shared );
ClientState Update( float deltaTime );
2014-02-12 09:15:41 +01:00
bool Render();
bool Release();
2014-02-12 16:31:15 +01:00
void ChangeState( ClientState next );
const NetEvent & DataRecieved( const NetEvent &message );
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