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

33 lines
790 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:
Oyster::Network::NetworkClient* nwClient;
struct myData;
myData* privData;
public:
2014-02-12 09:49:08 +01:00
MainState(void);
~MainState(void);
2014-01-30 11:58:44 +01:00
bool Init(Oyster::Network::NetworkClient* nwClient);
bool LoadModels(std::wstring file);
bool InitCamera(Oyster::Math::Float3 startPos);
ClientState Update(float deltaTime, InputClass* KeyInput);
bool Render();
bool Release();
2014-02-12 09:49:08 +01:00
void DataRecieved( ::Oyster::Network::NetEvent<NetworkClient*, ClientEventArgs> e );
};
}
}
2014-01-30 11:58:44 +01:00
#endif // ! DANBIAS_CLIENT_LOGINSTATE_H