Пример #1
0
 public virtual void addEffect(Effect e)
 {
     lock (mEffects)
     {
         mEffects.Add(e);
     }
 }
Пример #2
0
        public override void addEffect(Effect e)
        {
            if(Cell != null)
                Player.Game.Context.Broadcast(Messages.GAME_TOWER_EFFECT, Cell.Index, e.type, (int)e.Duration);

            base.addEffect(e);
        }
Пример #3
0
        public override void addEffect(Effect e)
        {
            Player.Game.Context.Broadcast(Messages.GAME_CREEP_EFFECT, ID, e.type, (int)e.Duration);

            base.addEffect(e);
        }