C# Class PacMan.EnemyArtificialIntelligence

Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode Description
EnemyArtificialIntelligence ( List vertexCoordinates ) : System
GetNextStep ( Point enemyCordinate, Point pacManCoordinate ) : Point

Private Methods

Méthode 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 méthode

public EnemyArtificialIntelligence ( List vertexCoordinates ) : System
vertexCoordinates List
Résultat System

GetNextStep() public méthode

public GetNextStep ( Point enemyCordinate, Point pacManCoordinate ) : Point
enemyCordinate Point
pacManCoordinate Point
Résultat Point