NScumm.Scumm.ScummEngine.SetPalColor C# (CSharp) Метод

SetPalColor() защищенный Метод

protected SetPalColor ( int index, int r, int g, int b ) : void
index int
r int
g int
b int
Результат void
        protected void SetPalColor(int index, int r, int g, int b)
        {
            _currentPalette.Colors[index] = Color.FromRgb(r, g, b);
            if (Game.Version == 8)
            {
                _darkenPalette.Colors[index] = Color.FromRgb(r, g, b);
            }

            //            if (_game.Features.HasFlag(GameFeatures.SixteenColors))
            //                _16BitPalette[idx] = get16BitColor(r, g, b);

            SetDirtyColors(index, index);
        }
ScummEngine