C# Class RoutePlanifier, isoAbbeyTFG

Mostrar archivo Open project: nvidiosin/isoAbbeyTFG Class Usage Examples

Public Methods

Method 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

Method 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 method

public static cancelRoute ( Entity, entity ) : void
entity Entity,
return void

next() public static method

public static next ( Entity, entity ) : Cell,
entity Entity,
return Cell,

planifyRoute() public static method

public static planifyRoute ( Entity, entity, Cell, destination ) : bool
entity Entity,
destination Cell,
return bool

planifyRoute() public static method

public static planifyRoute ( Entity, entity, Cell, destination, int distance ) : bool
entity Entity,
destination Cell,
distance int
return bool