From 132aff1d83dd80a8a86057b29e5af6e4bcb4ab91 Mon Sep 17 00:00:00 2001 From: ryuga4 Date: Tue, 14 May 2019 17:39:00 +0200 Subject: [PATCH] nie wiem co --- Trunk/MonoGameView/Algorithms/DFS.cs | 2 +- Trunk/MonoGameView/Game1.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Trunk/MonoGameView/Algorithms/DFS.cs b/Trunk/MonoGameView/Algorithms/DFS.cs index b6496bb..7b143e1 100644 --- a/Trunk/MonoGameView/Algorithms/DFS.cs +++ b/Trunk/MonoGameView/Algorithms/DFS.cs @@ -127,7 +127,7 @@ namespace CzokoŚmieciarka.MonoGameView.Algorithms KeyValuePair, int> Search(ContentManager content, GarbageCollector collector, ICloneable[,] grid, int length) { - Thread.Sleep(10); + //Thread.Sleep(10); this.Collector.Coords = collector.Coords; this.Collector.TrashContainers = collector.TrashContainers; diff --git a/Trunk/MonoGameView/Game1.cs b/Trunk/MonoGameView/Game1.cs index 87cf0b6..7ff4d39 100644 --- a/Trunk/MonoGameView/Game1.cs +++ b/Trunk/MonoGameView/Game1.cs @@ -93,7 +93,7 @@ namespace CzokoŚmieciarka.MonoGameView stepN = 0; - var dfs = new BFS(collector,grid); + var dfs = new DFS(collector,grid); //steps = dfs.BestPath(Content, collector, grid); new Thread(delegate() { var x = dfs.BestPath(Content, collector, grid);