2014-02-12 09:49:08 +01:00
|
|
|
#ifndef DANBIAS_CLIENT_MAINSTATE_H
|
|
|
|
#define DANBIAS_CLIENT_MAINSTATE_H
|
2014-01-30 11:58:44 +01:00
|
|
|
|
|
|
|
#include "GameClientState.h"
|
|
|
|
#include "OysterMath.h"
|
|
|
|
#include "NetworkClient.h"
|
|
|
|
#include <string>
|
|
|
|
namespace DanBias
|
|
|
|
{
|
|
|
|
namespace Client
|
|
|
|
{
|
2014-02-12 09:49:08 +01:00
|
|
|
class MainState : public GameClientState
|
2014-01-30 11:58:44 +01:00
|
|
|
{
|
|
|
|
public:
|
2014-02-17 11:27:43 +01:00
|
|
|
MainState();
|
|
|
|
~MainState();
|
|
|
|
bool Init( SharedStateContent &shared );
|
|
|
|
ClientState Update( float deltaTime );
|
2014-01-30 11:58:44 +01:00
|
|
|
|
|
|
|
bool Render();
|
|
|
|
bool Release();
|
2014-02-12 16:31:15 +01:00
|
|
|
void ChangeState( ClientState next );
|
2014-02-17 11:27:43 +01:00
|
|
|
private:
|
|
|
|
struct MyData;
|
|
|
|
::Utility::DynamicMemory::UniquePointer<MyData> privData;
|
2014-02-12 09:49:08 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
2014-01-30 11:58:44 +01:00
|
|
|
#endif // ! DANBIAS_CLIENT_LOGINSTATE_H
|