C# Class NScumm.Sky.AutoRoute

Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
AutoRoute ( Grid skyGrid, SkyCompact skyCompact ) : System
DoAutoRoute ( Compact cpt ) : ushort

Private Methods

Method Description
CalcWalkGrid ( byte startX, byte startY, byte destX, byte destY ) : bool
CheckBlock ( byte block, int blockPos ) : ushort
CheckInitMove ( UShortAccess data, short initStaX ) : UShortAccess
ClipCoordX ( ushort x, byte &blkX, short &initX ) : void
ClipCoordY ( ushort y, byte &blkY, short &initY ) : void
InitWalkGrid ( byte screen, byte width ) : void
MakeRouteData ( byte destX, byte destY ) : UShortAccess

Method Details

AutoRoute() public method

public AutoRoute ( Grid skyGrid, SkyCompact skyCompact ) : System
skyGrid Grid
skyCompact SkyCompact
return System

DoAutoRoute() public method

public DoAutoRoute ( Compact cpt ) : ushort
cpt Compact
return ushort