Example #1
0
        public KaraokeHUDOverlay(DrawableKaraokeRuleset drawableRuleset)
        {
            this.drawableRuleset = drawableRuleset;

            RelativeSizeAxes = Axes.Both;

            Children = new Drawable[]
            {
                new KaraokeActionContainer(drawableRuleset)
                {
                    RelativeSizeAxes = Axes.Both,
                    Child            = controlLayer = CreateControlLayer()
                }
            };
        }
Example #2
0
 public KaraokeActionContainer(DrawableKaraokeRuleset drawableRuleset)
     : base(drawableRuleset.Ruleset.RulesetInfo, 0, SimultaneousBindingMode.Unique)
 {
     this.drawableRuleset = drawableRuleset;
 }