diff options
Diffstat (limited to 'SuperPolarityMac/Renderer.cs')
| -rw-r--r-- | SuperPolarityMac/Renderer.cs | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/SuperPolarityMac/Renderer.cs b/SuperPolarityMac/Renderer.cs deleted file mode 100644 index 7ca8158..0000000 --- a/SuperPolarityMac/Renderer.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Microsoft.Xna.Framework.Graphics; - -namespace SuperPolarity -{ - class Renderer - { - - static List<Actor> Actors; - - static Renderer() - { - Actors = new List<Actor>(); - } - - static public void CheckIn(Actor actor) - { - Actors.Add(actor); - } - - static public void CheckOut(Actor actor) - { - Actors.Remove(actor); - } - - static public void Draw(SpriteBatch spriteBatch) - { - foreach (Actor actor in Actors) - { - actor.Draw(spriteBatch); - } - } - - static public void Empty() - { - Actors.Clear(); - } - } -} |