]> git.r.bdr.sh - rbdr/super-polarity/blame_incremental - SuperPolarity/Actors/Generators/Generator.cs
Update README
[rbdr/super-polarity] / SuperPolarity / Actors / Generators / Generator.cs
... / ...
CommitLineData
1using System;
2using Microsoft.Xna.Framework;
3
4namespace SuperPolarity
5{
6 public class Generator : Actor
7 {
8 public Generator(SuperPolarity newGame)
9 : base(newGame)
10 {
11 Collides = false;
12 }
13
14 public override void Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
15 {
16 base.Draw (spriteBatch);
17 spriteBatch.Draw(BoxTexture, Box, new Color(255, 0, 255, 25));
18 }
19 }
20}
21