C# Class RoutePlanifier, isoAbbeyTFG

Afficher le fichier Open project: nvidiosin/isoAbbeyTFG Class Usage Examples

Méthodes publiques

Méthode Description
cancelRoute ( Entity, entity ) : void
next ( Entity, entity ) : Cell,
planifyRoute ( Entity, entity, Cell, destination ) : bool
planifyRoute ( Entity, entity, Cell, destination, int distance ) : bool

Private Methods

Méthode Description
GetSurroundCellsAtRadius ( Cell, to, int distance ) : List
GetSurroundCellsAtRadius ( Cell, to, int distance, List cells ) : void
calculateRoute ( Cell, from, Cell, to, Entity, entity, int distance ) : Stack
estimaAvance ( Cell, celdaCandidata, Cell, accesible ) : float
estimaMeta ( Cell, accesible, Cell, to ) : float
getCeldasAccesibles ( Cell, celda, Entity, entity ) : Cell[],
reconstruyeCamino ( Stack route, int celda, Cell, anterior, Cell, celdas, int>.Dictionary cellToPos ) : void

Method Details

cancelRoute() public static méthode

public static cancelRoute ( Entity, entity ) : void
entity Entity,
Résultat void

next() public static méthode

public static next ( Entity, entity ) : Cell,
entity Entity,
Résultat Cell,

planifyRoute() public static méthode

public static planifyRoute ( Entity, entity, Cell, destination ) : bool
entity Entity,
destination Cell,
Résultat bool

planifyRoute() public static méthode

public static planifyRoute ( Entity, entity, Cell, destination, int distance ) : bool
entity Entity,
destination Cell,
distance int
Résultat bool