diff --git a/Trunk/MonoGameView/Game1.cs b/Trunk/MonoGameView/Game1.cs index 0402d5d..29f4f8c 100644 --- a/Trunk/MonoGameView/Game1.cs +++ b/Trunk/MonoGameView/Game1.cs @@ -181,10 +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() + "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()); + displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + house.TrashCans.ElementAtOrDefault(0).Garbage.TypeOfGarbage.GarbageType.ToString(), house.TrashCans.ElementAtOrDefault(0).Garbage.Volume.ToString()); + displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + house.TrashCans.ElementAtOrDefault(1).Garbage.TypeOfGarbage.GarbageType.ToString(), house.TrashCans.ElementAtOrDefault(1).Garbage.Volume.ToString()); + displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + house.TrashCans.ElementAtOrDefault(2).Garbage.TypeOfGarbage.GarbageType.ToString(), house.TrashCans.ElementAtOrDefault(2).Garbage.Volume.ToString()); + displayer.Content.Add(house.Coords.X.ToString() + ":" + house.Coords.Y.ToString() + house.TrashCans.ElementAtOrDefault(3).Garbage.TypeOfGarbage.GarbageType.ToString(), house.TrashCans.ElementAtOrDefault(3).Garbage.Volume.ToString()); } } }