protected DrawableStarSheetCap(DrawableStarSheet starSheet, TObject hitObject)
            : base(hitObject)
        {
            StarSheet = starSheet;
            Size      = new Vector2(DrawableStarSheet.NOTE_SHEET_SIZE * 1.1f);
            Origin    = Anchor.Centre;

            Content.Child = capPiece = new SkinnableDrawable(new RushSkinComponent(Component), _ => new StarSheetCapStarPiece())
            {
                Origin           = Anchor.Centre,
                Anchor           = Anchor.Centre,
                RelativeSizeAxes = Axes.Both,
            };
        }
Exemple #2
0
 public DrawableStarSheetHead(DrawableStarSheet starSheet)
     : base(starSheet, starSheet.HitObject.Head)
 {
 }
 public DrawableStarSheetTail(DrawableStarSheet starSheet)
     : base(starSheet, starSheet.HitObject.Tail)
 {
 }