コード例 #1
0
ファイル: BananaPiece.cs プロジェクト: Wieku/osu
        public BananaPiece()
        {
            RelativeSizeAxes = Axes.Both;

            InternalChildren = new Drawable[]
            {
                new BananaPulpFormation
                {
                    AccentColour = { BindTarget = AccentColour },
                },
                BorderPiece = new BorderPiece(),
            };
        }
コード例 #2
0
        public FruitPiece()
        {
            RelativeSizeAxes = Axes.Both;

            InternalChildren = new Drawable[]
            {
                new FruitPulpFormation
                {
                    AccentColour         = { BindTarget = AccentColour },
                    VisualRepresentation = { BindTarget = VisualRepresentation }
                },
                BorderPiece      = new BorderPiece(),
                HyperBorderPiece = new HyperBorderPiece()
            };
        }