package me.hammerle.supersnuvi.gamelogic.pathfinding; /** * edge of the graph, which represents the level layout * used for pathfinding */ public class LevelGraphEdge extends SimpleEdge implements IDirectedEdge { protected int direction; public LevelGraphEdge(LevelGraphNode node1, LevelGraphNode node2, double weight, int direction) { super(node1, node2, weight); this.direction = direction; } @Override public int getDirection() { return direction; } }