示例#1
0
 private void load(TextureStore textures, DrawableHitObject drawableHitObject)
 {
     InternalChildren = new Drawable[]
     {
         new Sprite
         {
             Anchor  = Anchor.Centre,
             Origin  = Anchor.Centre,
             Texture = textures.Get(@"Gameplay/osu/disc"),
         },
         new TrianglesPiece(drawableHitObject.GetHashCode())
         {
             RelativeSizeAxes = Axes.Both,
             Blending         = BlendingParameters.Additive,
             Alpha            = 0.5f,
         }
     };
 }