コード例 #1
0
        protected CatchSelectionBlueprintTestScene()
        {
            var catchBeatmap = new CatchBeatmap
            {
                BeatmapInfo =
                {
                    Ruleset = new CatchRuleset().RulesetInfo,
                }
            };

            EditorBeatmap = new EditorBeatmap(catchBeatmap)
            {
                Difficulty = { CircleSize = 0 }
            };
            EditorBeatmap.ControlPointInfo.Add(0, new TimingControlPoint
            {
                BeatLength = 100
            });

            base.Content.Add(new EditorBeatmapDependencyContainer(EditorBeatmap, new BindableBeatDivisor())
            {
                RelativeSizeAxes = Axes.Both,
                Children         = new Drawable[]
                {
                    EditorBeatmap,
                    contentContainer = new CatchEditorTestSceneContainer()
                },
            });
        }
コード例 #2
0
        protected CatchPlacementBlueprintTestScene()
        {
            base.Content.Add(contentContainer = new CatchEditorTestSceneContainer());

            contentContainer.Playfield.Clock = new FramedClock(new ManualClock());
        }
コード例 #3
0
 protected CatchSelectionBlueprintTestScene()
 {
     base.Content.Add(contentContainer = new CatchEditorTestSceneContainer());
 }