/// <summary> /// Constructor /// </summary> /// <param name="game">XNA Game Reference</param> /// <param name="button">Mouse Button</param> public Warp(Microsoft.Xna.Framework.Game game, MouseController.MouseButtons button) : base(100) { this._system = new ParticleSystem(game); param.spread = MathHelper.PiOver4; constructor(Chimera.Graphics.Enumeration.EParticleType.Spiral, button); }
/// <summary> /// Constructor /// </summary> /// <param name="system">Mercury System Reference</param> /// <param name="button">Mouse Button</param> public Warp(ParticleSystem system, MouseController.MouseButtons button) : base(100) { this._system = system; param.spread = MathHelper.PiOver4; constructor(Chimera.Graphics.Enumeration.EParticleType.Spiral, button); }
/// <summary> /// Initialize The Effect /// </summary> /// <param name="system">Mercury System Reference</param> /// <param name="button">Mouse Button</param> public void Initialize(ParticleSystem system, MouseController.MouseButtons button) { this._system = system; param.spread = MathHelper.PiOver4; base.setbudget(100); constructor(Chimera.Graphics.Enumeration.EParticleType.Spiral, button); }
/// <summary> /// Constructor /// </summary> /// <param name="game">XNA Game Reference</param> /// <param name="button">Mouse Button</param> public Plasma(Microsoft.Xna.Framework.Game game, MouseController.MouseButtons button) : base(1500) { this._system = new ParticleSystem(game); constructor(Chimera.Graphics.Enumeration.EParticleType.None, button); }
/// <summary> /// Constructor /// </summary> /// <param name="system">Mercury System Reference</param> /// <param name="button">Mouse Button</param> public Plasma(ParticleSystem system, MouseController.MouseButtons button) : base(1500) { this._system = system; constructor(Chimera.Graphics.Enumeration.EParticleType.None, button); }
/// <summary> /// Constructor /// </summary> /// <param name="x">particle Type</param> /// <param name="btn">Mouse Button</param> protected void constructor(Enumeration.EParticleType x, MouseController.MouseButtons btn) { this.type = x; this.init(); this.frequency = -999; ctr = new MouseController(btn); this._peff.ApplyController(ctr); }
/// <summary> /// Constructor /// </summary> /// <param name="game">XNA Game Reference</param> /// <param name="button">Mouse Button</param> /// <param name="type">Particle Effect Type</param> /// <param name="param">Parameter</param> public void Initialize(Microsoft.Xna.Framework.Game game, MouseController.MouseButtons button, Enumeration.EParticleType type, parameters param) { this._system = new ParticleSystem(game); this.param = param; constructor(type, button); }
/// <summary> /// Constructor /// </summary> /// <param name="system">Mercury System Reference</param> /// <param name="button">Mouse Button</param> /// <param name="type">Particle Effect Type</param> /// <param name="param">Parameter</param> public void Initialize(ParticleSystem system, MouseController.MouseButtons button, Enumeration.EParticleType type, parameters param) { this._system = system; this.param = param; constructor(type, button); }
/// <summary> /// Constructor /// </summary> /// <param name="game">XNA Game Reference</param> /// <param name="button">Mouse Button</param> public void Initialize(Microsoft.Xna.Framework.Game game, MouseController.MouseButtons button) { this._system = new ParticleSystem(game); base.setbudget(150); constructor(Chimera.Graphics.Enumeration.EParticleType.Circle, button); }
/// <summary> /// Constructor /// </summary> /// <param name="system">Mercury System Reference</param> /// <param name="button">Mouse Button</param> public void Initialize(ParticleSystem system, MouseController.MouseButtons button) { this._system = system; base.setbudget(150); constructor(Chimera.Graphics.Enumeration.EParticleType.Circle, button); }
/// <summary> /// Generate Effect When We Click Mouse Button /// </summary> /// <param name="button">Which Button TO Use</param> public void GenerateBy(MouseController.MouseButtons button) { this._peff.RemoveController(this.ctr); this.ctr = new MouseController(button); this._peff.ApplyController(ctr); }
/// <summary> /// Constructor /// </summary> /// <param name="system">Mercury System Reference</param> /// <param name="button">Mouse Button</param> public Snow(ParticleSystem system, MouseController.MouseButtons button) { this._system = system; constructor(Chimera.Graphics.Enumeration.EParticleType.Line, button); }