public override void UpdateOldState()
 {
     oldHalfPadState = newHalfPadState;
 }
 public override void UpdateNewState()
 {
     newHalfPadState = getState();
 }