public NotePlayfieldTestContainer(int column) { playfield = new NotePlayfield(column); InternalChild = content = new KaraokeInputManager(new KaraokeRuleset().RulesetInfo) { RelativeSizeAxes = Axes.Both }; }
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, } }; }
private Drawable createColumn(ScrollingDirection direction, int column) { var playfield = new NotePlayfield(column) { Anchor = Anchor.Centre, Origin = Anchor.Centre, }; notePlayfields.Add(playfield); return(new ScrollingTestContainer(direction) { Anchor = Anchor.Centre, Origin = Anchor.Centre, Padding = new MarginPadding(20), RelativeSizeAxes = Axes.Both, TimeRange = 2000, Child = playfield }); }