Esempio n. 1
0
 public void OnSpeedModifierActorAdded(FactorModifierActor actor)
 {
     if (SpeedModifierActorAdded != null)
     {
         SpeedModifierActorAdded(this, new FactorModifierActorAddedEventArgs(actor));
     }
 }
 public FactorModifierActorAddedEventArgs(FactorModifierActor actor)
 {
     this.actor = actor;
 }
Esempio n. 3
0
 public void AddSpeedModifier(FactorModifierActor actor)
 {
     speedModifiers.Add(actor);
     actor.ExpiredChanged += FactorModifierActorExpiredHandler;
 }
Esempio n. 4
0
 public void AddSpeedModifierActor(FactorModifierActor actor)
 {
     newActors.Add(actor);
     enemySpeedModifierActors.Add(actor);
     OnSpeedModifierActorAdded(actor);
 }