void HandleFlameAttack(ICreature sender) { Vector2 testLocation = new Vector2(sender.WorldIndex.X , sender.WorldIndex.Y); Fire testFlame = new Fire(testLocation, this); testFlame.Flame += new Fire.FlamingAttackEvent(Flame_Out); _fire.Add(testFlame); }
void Flame_Out(Fire sender) { _fire.Remove(sender); }