C# Class MyPolarBear.Pathfinding.AGrid

Afficher le fichier Open project: sgdc/sgdc-old Class Usage Examples

Méthodes publiques

Свойство Type Description
mGrid ].ANode[

Méthodes publiques

Méthode Description
GetInstance ( ) : AGrid
addResource ( LevelElement ele ) : void
getPath ( Vector2 start, Vector2 end ) : List
getPath ( Vector2 start, int nodeType ) : List
setLevel ( List level ) : void

Private Methods

Méthode Description
AGrid ( ) : System

Method Details

GetInstance() public static méthode

public static GetInstance ( ) : AGrid
Résultat AGrid

addResource() public méthode

public addResource ( LevelElement ele ) : void
ele LevelElement
Résultat void

getPath() public méthode

public getPath ( Vector2 start, Vector2 end ) : List
start Vector2
end Vector2
Résultat List

getPath() public méthode

public getPath ( Vector2 start, int nodeType ) : List
start Vector2
nodeType int
Résultat List

setLevel() public méthode

public setLevel ( List level ) : void
level List
Résultat void

Property Details

mGrid public_oe property

public ANode[,] mGrid
Résultat ].ANode[