From 9669431c3ae2753a07ddc9709e958d68815cac1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulski?= Date: Sun, 12 May 2019 13:49:19 +0200 Subject: [PATCH] =?UTF-8?q?Poziom=20zape=C5=82nienia=20niekt=C3=B3rych=20?= =?UTF-8?q?=C5=9Bmietnik=C3=B3w=20z=20dom=C3=B3w=20nie=20dodaje=20si=C4=99?= =?UTF-8?q?=20do=20displayera?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Trunk/MonoGameView/Game1.cs | 5 +- Trunk/MonoGameView/map2.xml | 168 ++++++++++++++++++++++++++++++++++++ 2 files changed, 172 insertions(+), 1 deletion(-) diff --git a/Trunk/MonoGameView/Game1.cs b/Trunk/MonoGameView/Game1.cs index 03b97d6..0402d5d 100644 --- a/Trunk/MonoGameView/Game1.cs +++ b/Trunk/MonoGameView/Game1.cs @@ -181,7 +181,10 @@ namespace CzokoŚmieciarka.MonoGameView if (item is House) { var house = item as House; - displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString(), house.TrashCans.LastOrDefault().FillPercent.ToString()); + displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + "1", house.TrashCans.ElementAtOrDefault(0).Garbage.Volume.ToString()); + //displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + "2", house.TrashCans.ElementAtOrDefault(1).Garbage.Volume.ToString()); + //displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + "3", house.TrashCans.ElementAtOrDefault(2).Garbage.Volume.ToString()); + //displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + "4", house.TrashCans.ElementAtOrDefault(3).Garbage.Volume.ToString()); } } } diff --git a/Trunk/MonoGameView/map2.xml b/Trunk/MonoGameView/map2.xml index cc4236f..d632bdf 100644 --- a/Trunk/MonoGameView/map2.xml +++ b/Trunk/MonoGameView/map2.xml @@ -174,6 +174,48 @@ 100 + + + Organic + + + 1 + + + 1 + + + 100 + + + + + Paper + + + 1 + + + 1 + + + 100 + + + + + PlasticMetal + + + 1 + + + 1 + + + 100 + + @@ -280,6 +322,48 @@ 100 + + + + Organic + + + 1 + + + 1 + + + 100 + + + + + Paper + + + 1 + + + 1 + + + 100 + + + + + PlasticMetal + + + 1 + + + 1 + + + 100 + @@ -1171,6 +1255,48 @@ 100 + + + + Organic + + + 1 + + + 1 + + + 100 + + + + + Paper + + + 1 + + + 1 + + + 100 + + + + + PlasticMetal + + + 1 + + + 1 + + + 100 + @@ -1278,6 +1404,48 @@ 100 + + + + Organic + + + 1 + + + 1 + + + 100 + + + + + Paper + + + 1 + + + 1 + + + 100 + + + + + PlasticMetal + + + 1 + + + 1 + + + 100 +