X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/6fceaa7b34f4d6efc497cda51679b37e530a61aa..d7a43ae2d3d4702bd199fa5d8ca84c7c6e78ed36:/SuperPolarityMac/Renderer.cs 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 Actors; - - static Renderer() - { - Actors = new List(); - } - - 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(); - } - } -}