Started making Input framebased and added KeyCodes

This commit is contained in:
Simon Lübeß
2020-11-14 15:09:59 +01:00
parent 356011119b
commit 696961e46c
9 changed files with 221 additions and 23 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ namespace GlitchyEngine
{
while(_running)
{
_gameTime.Tick();
_gameTime.NewFrame();
Input.NewFrame();
DirectX.ImmediateContext.ClearRenderTargetView(DirectX.BackBufferTarget, .(1, 0, 1));