C# Class PacMan.EnemyArtificialIntelligence

Exibir arquivo Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
EnemyArtificialIntelligence ( List vertexCoordinates ) : System
GetNextStep ( Point enemyCordinate, Point pacManCoordinate ) : Point

Private Methods

Method Description
AddNewNodeInQueue ( Node node, Point result ) : Point
CalculateNextStep ( Node guide ) : Point
CreateEmptyGraph ( ) : List
FillGraph ( ) : void
FindNextStep ( Node enemyNode ) : Point
GetNeighbor ( Point offset, Node currentNode ) : Node
ReturnBasicStatusGraph ( ) : void
SearchNode ( Point valueSearchingNode ) : Node

Method Details

EnemyArtificialIntelligence() public method

public EnemyArtificialIntelligence ( List vertexCoordinates ) : System
vertexCoordinates List
return System

GetNextStep() public method

public GetNextStep ( Point enemyCordinate, Point pacManCoordinate ) : Point
enemyCordinate Point
pacManCoordinate Point
return Point