void HandleRightKey(bool pressedRightKey) { currPunchTimeout = punchTimeOut; graphics.FlipX(!pressedRightKey); int hitDirection = pressedRightKey ? 1 : -1; punchController.CastPunchRay(hitDirection); }
void HandleRightKey(bool pressedRightKey) { currPunchTimeout = punchTimeOut; graphics.FlipX(!pressedRightKey); int hitDirection = pressedRightKey ? 1 : -1; punchController.CastPunchRay(hitDirection); }