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