Esempio n. 1
0
 protected override void Activate()
 {
     throwMagic = MagicFactory.GetMagic("throw") as ThrowMagic;
     //Effect ();
     throwMagic.magics.Enqueue(this);
 }
Esempio n. 2
0
 public OffensiveMagic(string magicName, int cooldown) : base(magicName)
 {
     this.cooldown = cooldown;
     throwMagic    = MagicFactory.GetMagic("throw") as ThrowMagic;
 }