void InitializeAStar() { pather_solids = new AStarPather(new MazeWalkerLambda((a, b) => { return(SolidTileIds.Contains(Gett(b)) ? int.MaxValue : 1 + GetStink(b)); }), new twinrect(0, 0, 19, 17)); stinkycells = new Dictionary <twin, float>(); }
public void Setup(MazeMaster master, twin cell_pos, AStarPather pather) { this.pather = pather; base.Setup(master, cell_pos); }
public BaRobotBoyPather(outerboardxxi xxi) { this.xxi = xxi; this.robotPather = new AStarPather(this); this.plannedTowers = new HashSet <twin>(); }