public static void Backward() { if (Prior == null) { return; } S = new State(Prior); XSSR.SetState(S.XSSRState); }
public State Fix() { XSSR.SetState(XSSRState); Dijkstra.Rand = new XSRandom(); Dijkstra.Height = DungeonStart.Height; Dijkstra.Width = DungeonStart.Width; Dijkstra.PhysicalMap = DungeonStart.LogicWorld; foreach (Entity e in Entities) { e.Seeker.CombinedMap = Dijkstra.PhysicalMap.Replicate(); // e.Seeker.SetGoal(e.Pos.Y, e.Pos.X); // e.Seeker.Scan(); } return(this); }