예제 #1
0
        public PlayerColorPalette(Actor self, PlayerColorPaletteInfo info)
        {
            var wr = self.World.WorldRenderer;
            var pal = wr.GetPalette(info.BasePalette);
            var newpal = new Palette(pal, new PlayerColorRemap(
                        Util.ArrayToColor(info.Color1),
                        Util.ArrayToColor(info.Color2),
                        info.SplitRamp));

            wr.AddPalette(info.Name, newpal);
        }
예제 #2
0
 public PlayerColorPalette(Player owner, PlayerColorPaletteInfo info)
 {
     this.owner = owner;
     this.info  = info;
 }
 public PlayerColorPalette( Player owner, PlayerColorPaletteInfo info )
 {
     this.owner = owner;
     this.info = info;
 }
예제 #4
0
 public PlayerColorPalette(PlayerColorPaletteInfo info)
 {
     this.info = info;
 }
예제 #5
0
 public PlayerColorPalette(PlayerColorPaletteInfo info)
 {
     this.info = info;
 }