Esempio n. 1
0
 protected override void Start()
 {
     //Set scorePoints
     scorePoints = ConfigurationUtils.SpeedupBlockPoints;
     //Set effect settings
     speedupEffectDuration = ConfigurationUtils.SpedupEffectDuration;
     speedupEffectForce    = ConfigurationUtils.SpeedupEffectForce;
     //Become invoker
     EventsManager.AddSpeedupEffectInvoker(speedupEffectActivatedEvent);
     base.Start();
 }