Exemplo n.º 1
0
        public static void LoadTextures(string textureFile)
        {
            ExceptionHelper.AssertFileExists(textureFile, "GeneralTextureManager.LoadTextures()");

            TextureManager.LoadTextures(textureFile);
            FramedTextureManager.LoadTextures(textureFile);
        }
Exemplo n.º 2
0
 private static SFML.Graphics.Texture GetRightTexture(string name, TextureType type)
 {
     if (type == TextureType.SFML)
     {
         return(TextureManager.GetTexture(name));
     }
     else
     {
         return(FramedTextureManager.GetTexture(name));
     }
 }