Danbias/Code/Game/DanBiasGame/GameClientState/MainState.h

29 lines
649 B
C
Raw Normal View History

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
ClientState Update(float deltaTime, InputClass* KeyInput);
bool Render();
bool Release();
2014-02-12 16:31:15 +01:00
void ChangeState( ClientState next );
2014-02-12 09:49:08 +01:00
};
}
}
2014-01-30 11:58:44 +01:00
#endif // ! DANBIAS_CLIENT_LOGINSTATE_H