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