C# Class AStarXNA.AStar

Inheritance: GameObject
Show file Open project: dreasgrech/AStarXNA Class Usage Examples

Public Methods

Method Description
AStar ( Microsoft.Xna.Framework.Game game, Grid grid, IHeuristic heuristic ) : System
Start ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
GetTieBreaker ( GridCell cell ) : double

Method Details

AStar() public method

public AStar ( Microsoft.Xna.Framework.Game game, Grid grid, IHeuristic heuristic ) : System
game Microsoft.Xna.Framework.Game
grid Grid
heuristic IHeuristic
return System

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void