Going to bed but i wanna show off my cool debugging system
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Linq;
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
|
||||
@@ -6,13 +7,13 @@ namespace Awperative;
|
||||
|
||||
public sealed partial class Body
|
||||
{
|
||||
public void Unload() { foreach (Component component in components) component.Unload(); }
|
||||
public void Unload() { foreach (Component component in components.ToList()) component.Unload(); }
|
||||
|
||||
public void Load() { foreach (Component component in components) { component.Load(); } }
|
||||
public void Load() { foreach (Component component in components.ToList()) { component.Load(); } }
|
||||
|
||||
public void Update(GameTime __gameTime) { foreach (Component component in components) { component.Update(__gameTime); } }
|
||||
public void Draw(GameTime __gameTime) { foreach (Component component in components) { component.Draw(__gameTime); } }
|
||||
public void Update(GameTime __gameTime) { foreach (Component component in components.ToList()) { component.Update(__gameTime); } }
|
||||
public void Draw(GameTime __gameTime) { foreach (Component component in components.ToList()) { component.Draw(__gameTime); } }
|
||||
|
||||
public void Destroy() { foreach(Component component in components) component.Destroy(); }
|
||||
public void Create() { foreach (Component component in components) component.Create(); }
|
||||
public void Destroy() { foreach(Component component in components.ToList()) component.Destroy(); }
|
||||
public void Create() { foreach (Component component in components.ToList()) component.Create(); }
|
||||
}
|
||||
Reference in New Issue
Block a user