Example #1
0
 private bool ContinueUsingAttackActions(int attackNum)    //Note attackNum is 0-indexed; i.e. first attack is 0.
 {
     return(MainHand.CanFire() &&
            attackNum < PlayerBase.NumberOfAttacks);
 }
Example #2
0
 private void ValidateMainHandAttack(IEnemy enemy)
 {
     Assert.IsNotNull(enemy);
     Assert.IsTrue(ActionAvailable);
     Assert.IsTrue(MainHand.CanFire());
 }