to dla cb dulak
This commit is contained in:
parent
11c1c934fc
commit
f1293b88eb
@ -142,7 +142,7 @@ namespace MonoGameView.Algorithms
|
||||
while (true)
|
||||
{
|
||||
var item = nodes.Dequeue();
|
||||
Thread.Sleep(10);
|
||||
//Thread.Sleep(10);
|
||||
this.Collector.Coords = item.Item2.Coords;
|
||||
this.Collector.TrashContainers = item.Item2.TrashContainers;
|
||||
for (int x = 0; x < item.Item3.GetLength(0); x++)
|
||||
|
@ -127,7 +127,7 @@ namespace CzokoŚmieciarka.MonoGameView.Algorithms
|
||||
KeyValuePair<List<IStep>, 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;
|
||||
|
||||
|
@ -45,8 +45,8 @@ namespace CzokoŚmieciarka.MonoGameView
|
||||
{
|
||||
graphics = new GraphicsDeviceManager(this);
|
||||
Content.RootDirectory = "Content";
|
||||
graphics.PreferredBackBufferWidth = 700;
|
||||
graphics.PreferredBackBufferHeight = 500;
|
||||
graphics.PreferredBackBufferWidth = 1400;
|
||||
graphics.PreferredBackBufferHeight = 1000;
|
||||
}
|
||||
|
||||
|
||||
@ -64,27 +64,27 @@ namespace CzokoŚmieciarka.MonoGameView
|
||||
// TODO: Add your initialization logic here
|
||||
timer = 0f;
|
||||
|
||||
mapLoader.Load(out size,out grid,"map1.xml");
|
||||
mapLoader.Load(out size,out grid,"map2.xml");
|
||||
var containers = new List<GarbageCollectorContainer>()
|
||||
{
|
||||
new GarbageCollectorContainer(
|
||||
new TypeOfGarbage(GarbageType.Glass,1),
|
||||
50,
|
||||
100000,
|
||||
new BasicGarbage(new TypeOfGarbage(GarbageType.Glass,1),0)
|
||||
),
|
||||
new GarbageCollectorContainer(
|
||||
new TypeOfGarbage(GarbageType.Paper,1),
|
||||
10000,
|
||||
100000,
|
||||
new BasicGarbage(new TypeOfGarbage(GarbageType.Paper,1),0)
|
||||
),
|
||||
new GarbageCollectorContainer(
|
||||
new TypeOfGarbage(GarbageType.Organic,1),
|
||||
10000,
|
||||
100000,
|
||||
new BasicGarbage(new TypeOfGarbage(GarbageType.Organic,1),0)
|
||||
),
|
||||
new GarbageCollectorContainer(
|
||||
new TypeOfGarbage(GarbageType.PlasticMetal,1),
|
||||
10000,
|
||||
100000,
|
||||
new BasicGarbage(new TypeOfGarbage(GarbageType.PlasticMetal,1),0)
|
||||
),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user