From 35bcd8d9cc8bd30698af79ce29815f6f805cd34b Mon Sep 17 00:00:00 2001 From: Simon Holmberg Date: Mon, 22 Oct 2012 02:29:51 +0200 Subject: [PATCH] fixup! Merge branch 'master' of github.com:sippeangelo/DepthsBelow --- DepthsBelow/DepthsBelow/EntityManager.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/DepthsBelow/DepthsBelow/EntityManager.cs b/DepthsBelow/DepthsBelow/EntityManager.cs index 701ced3..f4a1624 100755 --- a/DepthsBelow/DepthsBelow/EntityManager.cs +++ b/DepthsBelow/DepthsBelow/EntityManager.cs @@ -14,11 +14,6 @@ namespace DepthsBelow { public List Entities; - public List Entities - { - get { return entities; } - } - public EntityManager() { Entities = new List(); @@ -90,7 +85,7 @@ namespace DepthsBelow /// public void Update(GameTime gameTime) { - foreach (var entity in Entities) + foreach (var entity in Entities.ToList()) entity.Update(gameTime); }