| Package | Description |
|---|---|
| fr.arakne.utils.maps | |
| fr.arakne.utils.maps.path |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCellDataAdapter<M extends DofusMap,C extends MapCell>
Base implementation of MapCell by adapting a
CellData |
class |
CoordinateCell<C extends MapCell>
Map cell with coordinates
https://github.com/Emudofus/Dofus/blob/1.29/ank/battlefield/utils/Pathfinding.as#L191
|
interface |
DofusMap<C extends MapCell>
Base dofus map type
|
interface |
MapCell<C extends MapCell>
Base type for a dofus map cell
Usage :
// Note: the template parameter should be the used domain interface or class
interface MyMapCell extends MapCell<MapCell> {
public void myCustomOperation();
}
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BattlefieldCell<C extends BattlefieldCell>
Base type for a battlefield cell
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCellDataAdapter<M extends DofusMap,C extends MapCell>
Base implementation of MapCell by adapting a
CellData |
| Modifier and Type | Class and Description |
|---|---|
class |
Decoder<C extends MapCell>
Decode map data like paths or directions
|
class |
Path<C extends MapCell>
Path for dofus map
|
class |
Pathfinder<C extends MapCell>
Find the shortest path between two cells
decoder
.pathfinder()
.targetDistance(2)
.directions(Direction.values())
.findPath(fighter.cell(), target)
;
|
class |
PathStep<C extends MapCell>
Step for a path
|
Copyright © 2022. All rights reserved.