Пример #1
0
        public static TextureFlipAnimation FromStringList(List <string> list, SystemManagers managers)
        {
            TextureFlipAnimation toReturn = new TextureFlipAnimation();

            foreach (string fileName in list)
            {
                toReturn.TextureList.Add(LoaderManager.Self.Load(fileName, managers));
            }
            return(toReturn);
        }
Пример #2
0
        public static TextureFlipAnimation FromStringList(List<string> list, SystemManagers managers)
        {
            TextureFlipAnimation toReturn = new TextureFlipAnimation();

            foreach (string fileName in list)
            {
                toReturn.TextureList.Add(LoaderManager.Self.LoadContent<Texture2D>(fileName));
            }
            return toReturn;
        }