public static void LoadTextures(string textureFile) { ExceptionHelper.AssertFileExists(textureFile, "GeneralTextureManager.LoadTextures()"); TextureManager.LoadTextures(textureFile); FramedTextureManager.LoadTextures(textureFile); }
private static SFML.Graphics.Texture GetRightTexture(string name, TextureType type) { if (type == TextureType.SFML) { return(TextureManager.GetTexture(name)); } else { return(FramedTextureManager.GetTexture(name)); } }