public PlayerCharacter(Vector2 loc)
            : base(loc)
        {
            spellA = new Immobolise();
            spellB = new Fireball();

            sprites = new Dictionary<string, Animation>();
            sprites.Add("cast", new MageCast());
            sprites.Add("fall", new MageFall());
            sprites.Add("idle", new MageIdle());
            sprites.Add("jump", new MageJump());
            sprites.Add("melee", new MageMelee());
            sprites.Add("walk", new MageWalk());
            SetCurrentAnimation("idle");

            nextAttackAvailable = new TimeSpan(0);

            HealthSheet = SheetHandler.getSheet("healthsheet");
            SpellSheet = SheetHandler.getSheet("spelluisheet");
        }
 protected virtual void Cast(int spellButton)
 {
     if (spellButton == 0)
     {
         spellA = new Immobolise();
         toBeAdded.Add(spellA.Cast(loc, new Vector2((int)facing, 0), this));
     }
     if (spellButton == 1)
     {
         spellB = new Fireball();
         toBeAdded.Add(spellB.Cast(loc, new Vector2((int)facing, 0), this));
     }
     SetCurrentAnimation("cast");
 }