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
|
|
|
{
|
|
|
|
private:
|
2014-02-12 10:43:06 +01:00
|
|
|
struct MyData;
|
|
|
|
::Utility::DynamicMemory::UniquePointer<MyData> privData;
|
2014-01-30 11:58:44 +01:00
|
|
|
public:
|
2014-02-12 09:49:08 +01:00
|
|
|
MainState(void);
|
|
|
|
~MainState(void);
|
2014-02-12 10:43:06 +01:00
|
|
|
bool Init( Oyster::Network::NetworkClient* nwClient );
|
2014-01-30 11:58:44 +01:00
|
|
|
bool LoadModels(std::wstring file);
|
|
|
|
ClientState Update(float deltaTime, InputClass* KeyInput);
|
|
|
|
|
|
|
|
bool Render();
|
|
|
|
bool Release();
|
2014-02-12 09:49:08 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
2014-01-30 11:58:44 +01:00
|
|
|
#endif // ! DANBIAS_CLIENT_LOGINSTATE_H
|