public MainMap() { scene = new Node(); scene.Name = SCENE_NAME; pathFinder = new PathFinderExecutor(scene); }
/** * When invoked create a new instance of the path manager implementation. * * @param map The map. * @param spatial The spatial instance. */ public PathManager(MainMap map, Spatial personSpatial) { this.personSpatial = personSpatial; this.pathCalculator = map.createPathFinderExecutor(); }