Esempio n. 1
0
 public TestSkin(bool hasCustomColours)
     : base(new SkinInfo(), null, null, string.Empty)
 {
     if (hasCustomColours)
     {
         Configuration.AddComboColours(Colours);
     }
 }
Esempio n. 2
0
 public TestBeatmapSkin(BeatmapInfo beatmap, bool hasColours)
     : base(beatmap, new ResourceStore <byte[]>(), null)
 {
     if (hasColours)
     {
         Configuration.AddComboColours(Colours);
     }
 }
Esempio n. 3
0
 public TestSkin(bool hasCustomColours)
     : base(new SkinInfo(), new ResourceStore <byte[]>(), null, string.Empty)
 {
     if (hasCustomColours)
     {
         Configuration.AddComboColours(Colours);
         Configuration.CustomColours.Add("HyperDash", HYPER_DASH_COLOUR);
         Configuration.CustomColours.Add("HyperDashAfterImage", HYPER_DASH_AFTER_IMAGE_COLOUR);
         Configuration.CustomColours.Add("HyperDashFruit", HYPER_DASH_FRUIT_COLOUR);
     }
 }
Esempio n. 4
0
 public TestBeatmapSkin(BeatmapInfo beatmap, bool hasColours)
     : base(beatmap, new ResourceStore <byte[]>(), null)
 {
     if (hasColours)
     {
         Configuration.AddComboColours(Colours);
         Configuration.CustomColours.Add("HyperDash", HYPER_DASH_COLOUR);
         Configuration.CustomColours.Add("HyperDashAfterImage", HYPER_DASH_AFTER_IMAGE_COLOUR);
         Configuration.CustomColours.Add("HyperDashFruit", HYPER_DASH_FRUIT_COLOUR);
     }
 }
Esempio n. 5
0
        public DefaultLegacySkin(IResourceStore <byte[]> storage, AudioManager audioManager)
            : base(Info, storage, audioManager, string.Empty)
        {
            Configuration.CustomColours["SliderBall"] = new Color4(2, 170, 255, 255);
            Configuration.AddComboColours(
                new Color4(255, 192, 0, 255),
                new Color4(0, 202, 0, 255),
                new Color4(18, 124, 255, 255),
                new Color4(242, 24, 57, 255)
                );

            Configuration.LegacyVersion = 2.7m;
        }
Esempio n. 6
0
        public DefaultLegacySkin(SkinInfo skin, IResourceStore <byte[]> storage, IStorageResourceProvider resources)
            : base(skin, storage, resources, string.Empty)
        {
            Configuration.CustomColours["SliderBall"] = new Color4(2, 170, 255, 255);
            Configuration.AddComboColours(
                new Color4(255, 192, 0, 255),
                new Color4(0, 202, 0, 255),
                new Color4(18, 124, 255, 255),
                new Color4(242, 24, 57, 255)
                );

            Configuration.LegacyVersion = 2.7m;
        }