Exemplo n.º 1
0
        protected override void LoadComplete()
        {
            base.LoadComplete();

            var parentBeatmap = Parent.Dependencies.Get <Bindable <WorkingBeatmap> >();

            parentBeatmap.Value = Beatmap.Value;
            Beatmap.BindTo(parentBeatmap);

            var parentRuleset = Parent.Dependencies.Get <Bindable <RulesetInfo> >();

            parentRuleset.Value = Ruleset.Value;
            Ruleset.BindTo(parentRuleset);

            var parentMods = Parent.Dependencies.Get <Bindable <IReadOnlyList <Mod> > >();

            parentMods.Value = SelectedMods.Value;
            SelectedMods.BindTo(parentMods);
        }