NScumm.Scumm.Graphics.PixelNavigator.GoTo C# (CSharp) Method

GoTo() public method

public GoTo ( int x, int y ) : void
x int
y int
return void
        public void GoTo(int x, int y)
        {
            _offset = _startOffset + y * Pitch + x * BytesByPixel;
        }

Usage Example

Ejemplo n.º 1
0
        public PixelNavigator GetMaskBuffer(int x, int y, int i)
        {
            var nav = new PixelNavigator(maskBuffer[i], NumStrips, 1);

            nav.GoTo(x, y);
            return(nav);
        }
All Usage Examples Of NScumm.Scumm.Graphics.PixelNavigator::GoTo