From 8d1f79e6625de0027fc4d7fe716982c09f5ab777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulski?= Date: Sat, 11 May 2019 15:14:40 +0200 Subject: [PATCH] s --- Trunk/MonoGameView/DataModels/Models/House.cs | 2 +- Trunk/MonoGameView/Game1.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Trunk/MonoGameView/DataModels/Models/House.cs b/Trunk/MonoGameView/DataModels/Models/House.cs index 4d53800..5568c56 100644 --- a/Trunk/MonoGameView/DataModels/Models/House.cs +++ b/Trunk/MonoGameView/DataModels/Models/House.cs @@ -28,7 +28,7 @@ namespace CzokoŚmieciarka.MonoGameView.DataModels.Models } public object Clone() - { + { return new House((Coords) Coords.Clone(), TrashCans.Select(x => (TrashCan) x.Clone()).ToList()); } diff --git a/Trunk/MonoGameView/Game1.cs b/Trunk/MonoGameView/Game1.cs index 1acc259..feffbba 100644 --- a/Trunk/MonoGameView/Game1.cs +++ b/Trunk/MonoGameView/Game1.cs @@ -7,7 +7,6 @@ using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using CzokoŚmieciarka.MonoGameView.Algorithms; using MonoGameView.DataModels; @@ -172,7 +171,7 @@ namespace CzokoŚmieciarka.MonoGameView collector.Draw(spriteBatch, size); Display(new Dictionary(){["Dupa"] = "123", ["Stefan"] = "555", ["Dupa1"] = "123", ["Stefan1"] = "555", ["Dupa2"] = "123", ["Stefan2"] = "555"}); - Debug.WriteLine("cycki dupa, chuj biskupa"); + spriteBatch.End(); // TODO: Add your drawing code here