public override TurnStateEnum Execute(IPlayerStatus player, IEnemy enemy) { Validate(player, enemy); Assert.AreEqual(0, player.NumberOfTurnsPassed); ActionEconomy actionUsed = ActionEconomy.FreeAction; if (!CurrentlyConcentrating(player)) { MagicInitiateSpell spell = DetermineSpellToCast(player.PlayerBase); if (spell != MagicInitiateSpell.None) { actionUsed = player.CastBuff(spell); } } return(ActionUsedToTurnStateEnumMap[actionUsed]); }
public ActionEconomy CastBuff(MagicInitiateSpell spell) { throw new NotImplementedException(); }
private void ValidateCastBuff(MagicInitiateSpell spell) { Assert.ValidEnum(spell); Assert.IsTrue(spell != MagicInitiateSpell.None); Assert.IsTrue(CurrentSpell == MagicInitiateSpell.None); }
public bool CanCastBuff(MagicInitiateSpell spell) { throw new NotImplementedException(); }