]>
Commit | Line | Data |
---|---|---|
1 | using System; | |
2 | using Microsoft.Xna.Framework; | |
3 | ||
4 | namespace 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 |