aboutsummaryrefslogtreecommitdiff
path: root/Super Polarity/ParticleEffectFactory.cs
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2014-02-03 10:06:44 -0600
committerBen Beltran <ben@nsovocal.com>2014-02-03 10:06:44 -0600
commit4fc09567c557a1110180940cca40fd7144921026 (patch)
tree5fb7b0b787b739a3f4a2785651c69219a8318ab0 /Super Polarity/ParticleEffectFactory.cs
parent0cafec445af0a97d96feb1a1daefa1486142c73f (diff)
Removes spaces.
Diffstat (limited to 'Super Polarity/ParticleEffectFactory.cs')
-rw-r--r--Super Polarity/ParticleEffectFactory.cs66
1 files changed, 0 insertions, 66 deletions
diff --git a/Super Polarity/ParticleEffectFactory.cs b/Super Polarity/ParticleEffectFactory.cs
deleted file mode 100644
index 0cd9ed3..0000000
--- a/Super Polarity/ParticleEffectFactory.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Microsoft.Xna.Framework;
-using Microsoft.Xna.Framework.Graphics;
-
-namespace SuperPolarity
-{
- static class ParticleEffectFactory
- {
- static Game Game;
- static Random random;
-
- static ParticleEffectFactory()
- {
- random = new Random();
- }
-
- public static ParticleEngine CreatePolarCircle(Vector2 location)
- {
- List<Texture2D> texturesList = new List<Texture2D>();
-
- //texturesList.Add(Game.Content.Load<Texture2D>("Graphics\\circle"));
- texturesList.Add(Game.Content.Load<Texture2D>("Graphics\\diamond"));
- texturesList.Add(Game.Content.Load<Texture2D>("Graphics\\square"));
-
- ParticleEngine particleEngine = new ParticleEngine(texturesList, location);
-
- particleEngine.Color = new Color(239, 203, 204);
- particleEngine.TTL = 10;
- particleEngine.TTLRandomFactor = 5;
- particleEngine.ScatterFactor = 40;
- particleEngine.ParticleCount = 50;
- particleEngine.StretchFactor = 2.8f;
-
-
- return particleEngine;
- }
-
- public static ParticleEngine CreateBullet(Vector2 location)
- {
- List<Texture2D> texturesList = new List<Texture2D>();
-
- texturesList.Add(Game.Content.Load<Texture2D>("Graphics\\circle"));
- //texturesList.Add(Game.Content.Load<Texture2D>("Graphics\\diamond"));
- texturesList.Add(Game.Content.Load<Texture2D>("Graphics\\square"));
-
- ParticleEngine particleEngine = new ParticleEngine(texturesList, location);
-
- particleEngine.Color = Color.Gray;
- particleEngine.TTL = 5;
- particleEngine.TTLRandomFactor = 5;
- particleEngine.ScatterFactor = 5;
- particleEngine.ParticleCount = 10;
- particleEngine.StretchFactor = 1;
-
- return particleEngine;
- }
-
- internal static void SetGame(Game game)
- {
- ParticleEffectFactory.Game = game;
- }
- }
-}