add TODO to Player

GitOrigin-RevId: 0f94fab230a6f3071dbe2838235a8250b2db662c
This commit is contained in:
Colin McMillen 2019-12-10 14:28:50 -05:00
parent 2c2feb0f88
commit 06620ce368

View File

@ -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<GamePadState> gamePad) {
if (gamePad[0].IsButtonDown(Buttons.A) && airState == AirState.Ground) {
pose = Pose.Jumping;