2014-01-30 23:23:37 +01:00
|
|
|
#ifndef LAN_MENU_STATE_H
|
|
|
|
#define LAN_MENU_STATE_H
|
|
|
|
|
|
|
|
#include "GameClientState.h"
|
|
|
|
#include "OysterMath.h"
|
|
|
|
|
|
|
|
namespace DanBias
|
|
|
|
{
|
|
|
|
namespace Client
|
|
|
|
{
|
|
|
|
class LanMenuState : public GameClientState
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LanMenuState();
|
|
|
|
virtual ~LanMenuState();
|
|
|
|
|
2014-02-17 11:27:43 +01:00
|
|
|
bool Init( SharedStateContent &shared );
|
|
|
|
virtual ClientState Update( float deltaTime );
|
2014-01-30 23:23:37 +01:00
|
|
|
|
2014-02-12 14:33:56 +01:00
|
|
|
virtual bool Render();
|
2014-01-30 23:23:37 +01:00
|
|
|
virtual bool Release();
|
2014-02-12 16:31:15 +01:00
|
|
|
void ChangeState( ClientState next );
|
2014-02-23 20:23:15 +01:00
|
|
|
|
|
|
|
virtual const NetEvent & DataRecieved( const NetEvent &message );
|
2014-01-30 23:23:37 +01:00
|
|
|
|
|
|
|
private:
|
2014-02-12 16:31:15 +01:00
|
|
|
struct MyData;
|
|
|
|
::Utility::DynamicMemory::UniquePointer<MyData> privData;
|
2014-01-30 23:23:37 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|