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
+2
View File
@@ -14,6 +14,8 @@ namespace Sandbox
public override void Update(GameTime gameTime)
{
if(Input.IsKeyPressed(.Tab))
Log.ClientLogger.Info("Tab key is pressed!");
}
public override void OnEvent(Event event)