C# Class ZombieShooter.pathFinder

Afficher le fichier Open project: Spectrewiz/Zombie-Shooter Class Usage Examples

Méthodes publiques

Свойство Type Description
Qtimer int
queue int

Méthodes publiques

Méthode Description
findPath ( Vector2 pos, Vector2 dest ) : List
pathFinder ( bool bMap ) : System
update ( ) : void
writeMap ( Vector2 offset ) : ].bool[

Private Methods

Méthode Description
getAdj ( Point curPos ) : List
getG ( Point v, Point curPos ) : int
getH ( Point v, Point endPos ) : int
resetMap ( ) : void

Method Details

findPath() public méthode

public findPath ( Vector2 pos, Vector2 dest ) : List
pos Vector2
dest Vector2
Résultat List

pathFinder() public méthode

public pathFinder ( bool bMap ) : System
bMap bool
Résultat System

update() public static méthode

public static update ( ) : void
Résultat void

writeMap() public static méthode

public static writeMap ( Vector2 offset ) : ].bool[
offset Vector2
Résultat ].bool[

Property Details

Qtimer public_oe static_oe property

public static int Qtimer
Résultat int

queue public_oe static_oe property

public static int queue
Résultat int