public void SelectStage(StageSelect stageSelect, ref int Stage, Input input, ref int autoCount) { DesktopKeyboard.SelectStageByInputKey(ref Stage, input, ref autoCount); if (input.eB && autoCount > 10) { stageSelect.IsDead = true; input.eB = false; autoCount = 0; } }
public void SelectStage(StageSelect stageSelect, ref int Stage, Input input, ref int autoCount) { if (input.barx >= 50 && input.barx < 700d / 5d * 1d) { Stage = 1; } else if (input.barx >= 700d / 5d * 1d && input.barx < 700d / 5d * 2d) { Stage = 2; } else if (input.barx >= 700d / 5d * 2d && input.barx < 700d / 5d * 3d) { Stage = 3; } else if (input.barx >= 700d / 5d * 3d && input.barx < 700d / 5d * 4d) { Stage = 4; } else if (input.barx >= 700d / 5d * 4d && input.barx < 700d) { Stage = 5; } }
public void SelectStage(StageSelect stageSelect, ref int Stage, Input input, ref int autoCount) { SelectStageByInputKey(ref Stage, input, ref autoCount); }