public Hyperline() { UI = new HyperlineUI(); LastColor = new Color(); Instance = this; LastHairLength = 4; }
public Hyperline() { UI = new HyperlineUI(); triggerManager = new TriggerManager(); presetManager = new PresetManager(); lastColor = new Color(); Instance = this; lastHairLength = 4; //add the default hair types hairTypes = new HairTypeManager(); AddHairType(new GradientHair()); AddHairType(new PatternHair()); AddHairType(new SolidHair()); AddHairType(new RainbowHair()); AddHairType(new DefaultHair()); DefaultPDashA = new ParticleType { Color = Calc.HexToColor("44B7FF"), Color2 = Calc.HexToColor("75c9ff"), ColorMode = ParticleType.ColorModes.Blink, FadeMode = ParticleType.FadeModes.Late, LifeMin = 1f, LifeMax = 1.8f, Size = 1f, SpeedMin = 10f, SpeedMax = 20f, Acceleration = new Vector2(0f, 8f), DirectionRange = 1.0471976f }; DefaultPDashB = new ParticleType(DefaultPDashA) { Color = Calc.HexToColor("AC3232"), Color2 = Calc.HexToColor("e05959") }; DefaultPDashBadB = new ParticleType(DefaultPDashA) { Color = Calc.HexToColor("9B3FB5"), Color2 = Calc.HexToColor("CC8EE2") }; PlayerParticle = new ParticleType(DefaultPDashA) { }; }