C# Class MapServer.MapPath

Mostra file Open project: dream-young-soul/soul Class Usage Examples

Public Properties

Property Type Description
Height uint

Public Methods

Method Description
FindPath ( short scr_x, short scr_y, short dest_x, short dest_y ) : List
MapPath ( uint nWidth, uint nHeight ) : System
SetPointMask ( short x, short y, byte tag ) : void

Private Methods

Method Description
Enter_Queue ( TTree node, int f ) : void
Get_From_Queue ( ) : TTree
Init_Queue ( ) : void
Trytile ( short x, short y, short end_x, short end_y, TTree father, byte dir ) : bool
judge ( int x, int y, int end_x, int end_y ) : int

Method Details

FindPath() public method

public FindPath ( short scr_x, short scr_y, short dest_x, short dest_y ) : List
scr_x short
scr_y short
dest_x short
dest_y short
return List

MapPath() public method

public MapPath ( uint nWidth, uint nHeight ) : System
nWidth uint
nHeight uint
return System

SetPointMask() public method

public SetPointMask ( short x, short y, byte tag ) : void
x short
y short
tag byte
return void

Property Details

Height public_oe property

public uint Height
return uint