using Microsoft.Xna.Framework; using MonoGame.Extended; namespace MonoGame.Extended.Particles { public class ParticleReleaseParameters { public ParticleReleaseParameters() { Quantity = 1; Speed = new Range(-1f, 1f); Color = new Range(Microsoft.Xna.Framework.Color.White.ToHsl(), Microsoft.Xna.Framework.Color.White.ToHsl()); Opacity = new Range(0f, 1f); Scale = new Range(1f, 1f); Rotation = new Range(-MathHelper.Pi, MathHelper.Pi); Mass = 1f; MaintainAspectRatioOnScale = true; ScaleX = new Range(1f, 1f); ScaleY = new Range(1f, 1f); } public Range Quantity { get; set; } public Range Speed { get; set; } public Range Color { get; set; } public Range Opacity { get; set; } public Range Scale { get; set; } public Range Rotation { get; set; } public Range Mass { get; set; } public bool MaintainAspectRatioOnScale { get; set; } public Range ScaleX { get; set; } public Range ScaleY { get; set; } } }