protected DrawableScrollingRuleset(Ruleset ruleset, IBeatmap beatmap, IReadOnlyList <Mod> mods = null) : base(ruleset, beatmap, mods) { scrollingInfo = new LocalScrollingInfo(); scrollingInfo.Direction.BindTo(Direction); scrollingInfo.TimeRange.BindTo(TimeRange); }
public NotePlayfieldPreview() { Size = new Vector2(0.7f, 0.5f); positionCalculator = new PositionCalculator(row_amount); scrollingInfo = new LocalScrollingInfo(); Child = new Container { RelativeSizeAxes = Axes.Both, Padding = new MarginPadding(30), Child = notePlayfield = new NotePlayfield(row_amount) { Anchor = Anchor.Centre, Origin = Anchor.Centre, } }; }
public NoteEditor(Lyric lyric) { this.lyric = lyric; scrollingInfo = new LocalScrollingInfo(); InternalChild = new Container { Name = "Content", RelativeSizeAxes = Axes.Both, Children = new Drawable[] { // layers below playfield Playfield = new EditorNotePlayfield(row_amount), // layers above playfield new EditNoteBlueprintContainer(lyric), } }; // set stop clock and navigation to target time. Playfield.Clock = new StopClock(lyric.LyricStartTime); }
protected DrawableScrollingRuleset(Ruleset ruleset, IWorkingBeatmap beatmap, IReadOnlyList <Mod> mods) : base(ruleset, beatmap, mods) { scrollingInfo = new LocalScrollingInfo(); scrollingInfo.Direction.BindTo(Direction); scrollingInfo.TimeRange.BindTo(TimeRange); switch (VisualisationMethod) { case ScrollVisualisationMethod.Sequential: scrollingInfo.Algorithm = new SequentialScrollAlgorithm(controlPoints); break; case ScrollVisualisationMethod.Overlapping: scrollingInfo.Algorithm = new OverlappingScrollAlgorithm(controlPoints); break; case ScrollVisualisationMethod.Constant: scrollingInfo.Algorithm = new ConstantScrollAlgorithm(); break; } }
protected ScrollingRulesetContainer(Ruleset ruleset, WorkingBeatmap beatmap) : base(ruleset, beatmap) { scrollingInfo = new LocalScrollingInfo(); scrollingInfo.Direction.BindTo(Direction); scrollingInfo.TimeRange.BindTo(TimeRange); switch (VisualisationMethod) { case ScrollVisualisationMethod.Sequential: scrollingInfo.Algorithm = new SequentialScrollAlgorithm(controlPoints); break; case ScrollVisualisationMethod.Overlapping: scrollingInfo.Algorithm = new OverlappingScrollAlgorithm(controlPoints); break; case ScrollVisualisationMethod.Constant: scrollingInfo.Algorithm = new ConstantScrollAlgorithm(); break; } }