static void Initialize() { if (_locusEffectsProvider != null) { return; } _locusEffectsProvider = new BigMansStuff.LocusEffects.LocusEffectsProvider(); _locusEffectsProvider.Initialize(); var heartbeatEffect = new BigMansStuff.LocusEffects.BeaconLocusEffect { Name = "HeartBeatBeacon", InitialSize = new Size(100, 100), AnimationTime = 4000, LeadInTime = 0, LeadOutTime = 0, AnimationStartColor = Color.HotPink, AnimationEndColor = Color.HotPink, AnimationOuterColor = Color.Pink, RingWidth = 4, OuterRingWidth = 4, BodyFadeOut = true, ShowShadow = true, Style = BigMansStuff.LocusEffects.BeaconEffectStyles.HeartBeat }; _locusEffectsProvider.AddLocusEffect(heartbeatEffect); }
static void Initialize() { if (_locusEffectsProvider != null) return; _locusEffectsProvider = new BigMansStuff.LocusEffects.LocusEffectsProvider(); _locusEffectsProvider.Initialize(); var heartbeatEffect = new BigMansStuff.LocusEffects.BeaconLocusEffect { Name = "HeartBeatBeacon", InitialSize = new Size(100, 100), AnimationTime = 4000, LeadInTime = 0, LeadOutTime = 0, AnimationStartColor = Color.HotPink, AnimationEndColor = Color.HotPink, AnimationOuterColor = Color.Pink, RingWidth = 4, OuterRingWidth = 4, BodyFadeOut = true, ShowShadow = true, Style = BigMansStuff.LocusEffects.BeaconEffectStyles.HeartBeat }; _locusEffectsProvider.AddLocusEffect(heartbeatEffect); }