]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - SuperPolarity/Actors/Generators/Generator.cs
Update project to work on VS Code mac
[rbdr/super-polarity] / SuperPolarity / Actors / Generators / Generator.cs
index dfbc40ba87f5697750afd339dfc937626b67248f..8267dc06c092468cee3bfc4eab719c42460fc019 100644 (file)
@@ -1,4 +1,5 @@
 using System;
 using System;
+using Microsoft.Xna.Framework;
 
 namespace SuperPolarity
 {
 
 namespace SuperPolarity
 {
@@ -9,6 +10,12 @@ namespace SuperPolarity
                {
                        Collides = false;
                }
                {
                        Collides = false;
                }
+
+               public override void Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
+               {
+                       base.Draw (spriteBatch);
+                       spriteBatch.Draw(BoxTexture, Box, new Color(255, 0, 255, 25));
+               }
        }
 }
 
        }
 }