aboutsummaryrefslogtreecommitdiff
path: root/SuperPolarityMac/Renderer.cs
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2014-02-11 01:15:19 -0600
committerBen Beltran <ben@nsovocal.com>2014-02-11 01:15:19 -0600
commitd7a43ae2d3d4702bd199fa5d8ca84c7c6e78ed36 (patch)
tree28be1c08e360ad3122042243a326f1352797d802 /SuperPolarityMac/Renderer.cs
parent6fceaa7b34f4d6efc497cda51679b37e530a61aa (diff)
Consolidate with mac project.
Diffstat (limited to 'SuperPolarityMac/Renderer.cs')
-rw-r--r--SuperPolarityMac/Renderer.cs42
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();
- }
- }
-}