C# Class MiDeRP.Navigation

Afficher le fichier Open project: EraYaN/MiDeRP

Méthodes publiques

Свойство Type Description
currentPath int
currentPos NodeConnection
fullPath List
mines List
paths List[]
targetCPs List
visited List

Méthodes publiques

Méthode 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

Méthode 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 méthode

public InitChallenge ( ) : void
Résultat void

Navigation() public méthode

public Navigation ( ) : System
Résultat System

findTreasure() public méthode

public findTreasure ( ) : void
Résultat void

getNextAxis() public méthode

public getNextAxis ( ) : void
Résultat void

getPath() public méthode

public getPath ( Coord entry, Coord exit ) : List
entry System.Coord
exit System.Coord
Résultat List

makePaths() public méthode

public makePaths ( ) : void
Résultat void

recalculatePath() public méthode

public recalculatePath ( ) : void
Résultat void

updateCP() public méthode

public updateCP ( uint id ) : void
id uint
Résultat void

updateCurrentPath() public méthode

public updateCurrentPath ( Coord entry, Coord exit ) : void
entry System.Coord
exit System.Coord
Résultat void

Property Details

currentPath public_oe property

public int currentPath
Résultat int

currentPos public_oe property

public NodeConnection currentPos
Résultat NodeConnection

fullPath public_oe property

public List fullPath
Résultat List

mines public_oe property

public List mines
Résultat List

paths public_oe property

public List[] paths
Résultat List[]

targetCPs public_oe property

public List targetCPs
Résultat List

visited public_oe property

public List visited
Résultat List