C# Class MiDeRP.Navigation

显示文件 Open project: EraYaN/MiDeRP

Public Properties

Property Type Description
currentPath int
currentPos NodeConnection
fullPath List
mines List
paths List[]
targetCPs List
visited List

Public Methods

Method Description
InitChallenge ( ) : void
Navigation ( ) : System
findTreasure ( ) : void
getNextAxis ( ) : void
getPath ( Coord entry, Coord exit ) : List
makePaths ( ) : void
recalculatePath ( ) : void
updateCP ( uint id ) : void
updateCurrentPath ( Coord entry, Coord exit ) : void

Private Methods

Method Description
addAllNodeConnections ( uint xlim, uint ylim ) : void
clearMines ( ) : int
closeNavigation ( ) : void
extractPath ( ) : IntPtr
extractPath ( IntPtr path ) : int
getH ( Coord node, Coord sourceNode ) : int
getPathLength ( ) : uint
initNavigation ( uint m, uint n ) : int
setMineC ( uint X1, uint Y1, uint X2, uint Y2, byte mine ) : int
setMinesInDLL ( ) : int
updatePath ( uint EntryID, uint ExitID ) : int

Method Details

InitChallenge() public method

public InitChallenge ( ) : void
return void

Navigation() public method

public Navigation ( ) : System
return System

findTreasure() public method

public findTreasure ( ) : void
return void

getNextAxis() public method

public getNextAxis ( ) : void
return void

getPath() public method

public getPath ( Coord entry, Coord exit ) : List
entry System.Coord
exit System.Coord
return List

makePaths() public method

public makePaths ( ) : void
return void

recalculatePath() public method

public recalculatePath ( ) : void
return void

updateCP() public method

public updateCP ( uint id ) : void
id uint
return void

updateCurrentPath() public method

public updateCurrentPath ( Coord entry, Coord exit ) : void
entry System.Coord
exit System.Coord
return void

Property Details

currentPath public_oe property

public int currentPath
return int

currentPos public_oe property

public NodeConnection currentPos
return NodeConnection

fullPath public_oe property

public List fullPath
return List

mines public_oe property

public List mines
return List

paths public_oe property

public List[] paths
return List[]

targetCPs public_oe property

public List targetCPs
return List

visited public_oe property

public List visited
return List