protected virtual TestDrawableBigBeat CreateDrawableBigBeat(TauBigBeatObject bigBeat, bool auto) => new TestDrawableBigBeat(bigBeat, auto) { Anchor = Anchor.Centre, Origin = Anchor.Centre, Depth = depthIndex++, CheckValidation = b => true };
private void testBigBeat(bool auto = false) { var bigBeatObject = new TauBigBeatObject { StartTime = Time.Current + 1000, PositionToEnd = new Vector2(0, 0), Angle = 0 }; bigBeatObject.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty { }); var drawable = CreateDrawableBigBeat(bigBeatObject, auto); Add(drawable); }
public DrawableTauBigBeatObject(TauBigBeatObject hitObject) : base(hitObject) { Anchor = Anchor.Centre; Origin = Anchor.Centre; RelativePositionAxes = Axes.Both; AddInternal(Box = new Box { EdgeSmoothness = new Vector2(1f), RelativeSizeAxes = Axes.Both, Origin = Anchor.Centre, Anchor = Anchor.Centre, Alpha = 0.05f }); Box.Rotation = hitObject.Angle; Position = Vector2.Zero; }
public TestDrawableBigBeat(TauBigBeatObject h, bool auto) : base(h) { this.auto = auto; }