parent
6f9483041b
commit
22f8a6c9ea
|
@ -67,8 +67,6 @@ bool MainState::Init( NetworkClient* nwClient )
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
float mouseX, mouseY; // debug test
|
|
||||||
|
|
||||||
GameClientState::ClientState MainState::Update(float deltaTime, InputClass* KeyInput)
|
GameClientState::ClientState MainState::Update(float deltaTime, InputClass* KeyInput)
|
||||||
{
|
{
|
||||||
MouseInput mouseState;
|
MouseInput mouseState;
|
||||||
|
@ -79,9 +77,6 @@ GameClientState::ClientState MainState::Update(float deltaTime, InputClass* KeyI
|
||||||
|
|
||||||
EventHandler::Instance().Update( mouseState );
|
EventHandler::Instance().Update( mouseState );
|
||||||
|
|
||||||
mouseX = mouseState.x; // debug test
|
|
||||||
mouseY = mouseState.y; // debug test
|
|
||||||
|
|
||||||
return this->privData->nextState;
|
return this->privData->nextState;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,9 +91,6 @@ bool MainState::Render()
|
||||||
Graphics::API::StartTextRender();
|
Graphics::API::StartTextRender();
|
||||||
this->privData->guiElements.RenderText();
|
this->privData->guiElements.RenderText();
|
||||||
|
|
||||||
Graphics::API::RenderText( ::std::to_wstring(mouseX), Float2(0.2f, 0.5f), Float2(0.2f, 0.05f) ); // debug test
|
|
||||||
Graphics::API::RenderText( ::std::to_wstring(mouseY), Float2(0.5f, 0.5f), Float2(0.2f, 0.05f) ); // debug test
|
|
||||||
|
|
||||||
Graphics::API::EndFrame();
|
Graphics::API::EndFrame();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue