C# Class NScumm.Sky.Grid

Exibir arquivo Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
GiveGrid ( uint screen ) : byte[]
Grid ( Logic logic, Disk disk, SkyCompact skyCompact ) : System.Diagnostics
LoadGrids ( ) : void
ObjectToWalk ( Compact cpt ) : void
PlotGrid ( uint x, uint y, uint width, Compact cpt ) : void
RemoveGrid ( uint x, uint y, uint width, Compact cpt ) : void
RemoveObjectFromWalk ( Compact cpt ) : void

Private Methods

Method Description
GetGridValues ( Compact cpt, byte &resGrid, int &resBitNum, uint &resWidth ) : bool
GetGridValues ( uint x, uint y, uint width, Compact cpt, byte &resGrid, int &resBitNum, uint &resWidth ) : bool
ObjectToWalk ( byte gridIdx, int bitNum, uint width ) : void
RemoveObjectFromWalk ( byte gridIdx, int bitNum, uint width ) : void

Method Details

GiveGrid() public method

public GiveGrid ( uint screen ) : byte[]
screen uint
return byte[]

Grid() public method

public Grid ( Logic logic, Disk disk, SkyCompact skyCompact ) : System.Diagnostics
logic Logic
disk Disk
skyCompact SkyCompact
return System.Diagnostics

LoadGrids() public method

public LoadGrids ( ) : void
return void

ObjectToWalk() public method

public ObjectToWalk ( Compact cpt ) : void
cpt Compact
return void

PlotGrid() public method

public PlotGrid ( uint x, uint y, uint width, Compact cpt ) : void
x uint
y uint
width uint
cpt Compact
return void

RemoveGrid() public method

public RemoveGrid ( uint x, uint y, uint width, Compact cpt ) : void
x uint
y uint
width uint
cpt Compact
return void

RemoveObjectFromWalk() public method

public RemoveObjectFromWalk ( Compact cpt ) : void
cpt Compact
return void