Esempio n. 1
0
        public static TunerSkin LoadFromDirectory(string directory)
        {
            var skin = new TunerSkin();

            skin.DefaultSprite = TunerSprite.LoadFromDirectory(directory);
            return(skin);
        }
Esempio n. 2
0
        public static TunerSprite LoadFromDirectory(string directory)
        {
            var sprite = new TunerSprite();

            sprite.Arrow     = LoadSprite(Path.GetFullPath(Path.Combine(directory, "Arrow.png")));
            sprite.Backgroud = LoadSprite(Path.GetFullPath(Path.Combine(directory, "Background.png")));
            sprite.Border    = LoadSprite(Path.GetFullPath(Path.Combine(directory, "Border.png")));
            sprite.Core      = LoadSprite(Path.GetFullPath(Path.Combine(directory, "Core.png")));
            sprite.Judgeline = LoadSprite(Path.GetFullPath(Path.Combine(directory, "Judgeline.png")));
            return(sprite);
        }