public override void OnMouseDown(object sender, CanvasHelper.PointEventArg e) { if (showInstruction) { showInstruction = false; cv.cv.Opacity = 0.3; return; } PushState(State.Selecting); }
public override void OnMouseDown(object sender, CanvasHelper.PointEventArg e) { base.OnMouseDown(sender, e); if (Helper.PointIn(e.point, 370, 390, 370 + 120, 390 + 35)) { resultBtnIdx = 0; PushState(State.Selecting, true); } else if (Helper.PointIn(e.point, 370 + 130, 390, 370 + 130 + 120, 390 + 35)) { resultBtnIdx = 1; PushState(State.Playing, song); } }
public override void OnMouseDown(object sender, CanvasHelper.PointEventArg e) { base.OnMouseDown(sender, e); if (noSong) { return; } if (Helper.PointIn(e.point, 208 - 50, 100 + 80 - 20, 208 - 50 + 60, 100 + 80 - 20 + 60)) { ChangeSong(-1); } else if (Helper.PointIn(e.point, 208 + 224 - 10, 100 + 80 - 20, 208 + 224 - 10 + 60, 100 + 80 - 20 + 60)) { ChangeSong(1); } else if (Helper.PointIn(e.point, 260, 380, 260 + 120, 380 + 40)) { Start(); } }
public override void OnMouseDown(object sender, CanvasHelper.PointEventArg e) { PushState(State.Result, new object[] { song, combo, score, percent }); }
public virtual void OnMouseDown(object sender, CanvasHelper.PointEventArg e) { return; }