C# Class ZombieShooter.pathFinder

ファイルを表示 Open project: Spectrewiz/Zombie-Shooter Class Usage Examples

Public Properties

Property Type Description
Qtimer int
queue int

Public Methods

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

Private Methods

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

Method Details

findPath() public method

public findPath ( Vector2 pos, Vector2 dest ) : List
pos Vector2
dest Vector2
return List

pathFinder() public method

public pathFinder ( bool bMap ) : System
bMap bool
return System

update() public static method

public static update ( ) : void
return void

writeMap() public static method

public static writeMap ( Vector2 offset ) : ].bool[
offset Vector2
return ].bool[

Property Details

Qtimer public_oe static_oe property

public static int Qtimer
return int

queue public_oe static_oe property

public static int queue
return int