From 06620ce368356d0a9ce0fbdaf43a46d11cef8284 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Tue, 10 Dec 2019 14:28:50 -0500 Subject: [PATCH] add TODO to Player GitOrigin-RevId: 0f94fab230a6f3071dbe2838235a8250b2db662c --- Jumpy.Shared/Player.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jumpy.Shared/Player.cs b/Jumpy.Shared/Player.cs index 0d1d7b8..899bc8f 100644 --- a/Jumpy.Shared/Player.cs +++ b/Jumpy.Shared/Player.cs @@ -29,6 +29,8 @@ namespace Jumpy { this.texture = texture; } + // TODO: refactor input to have a virtual "which directions & buttons were being pressed" + // instead of complicated if-statements in this function. public void Update(GameTime time, History gamePad) { if (gamePad[0].IsButtonDown(Buttons.A) && airState == AirState.Ground) { pose = Pose.Jumping;