Browse Source

add TODO to Player

GitOrigin-RevId: 0f94fab230
master
Colin McMillen 4 years ago
parent
commit
06620ce368
  1. 2
      Jumpy.Shared/Player.cs

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

Loading…
Cancel
Save