public PaletteFromFile(World world, PaletteFromFileInfo info) { if (info.Theater == null || info.Theater.ToLowerInvariant() == world.Map.Theater.ToLowerInvariant()) { world.WorldRenderer.AddPalette(info.Name, new Palette(FileSystem.Open(info.Filename), info.Transparent)); } }
public PaletteFromFile(World world, PaletteFromFileInfo info) { this.world = world; this.info = info; }