/// <summary> /// Gets the player to attack the indicated row and column. /// </summary> /// <param name="row">the row to attack</param> /// <param name="col">the column to attack</param> /// <remarks> /// Checks the attack result once the attack is complete /// </remarks> public static void Attack(int row, int col) { AttackResult result = default(AttackResult); result = _theGame.Shoot(row, col); CheckAttackResult(result); }
/*<summary> * Gets the player to attack the indicated row and column. *</summary> *<param name="row">the row to attack</param> *<param name="col">the column to attack</param> *<remarks> * Checks the attack result once the attack is complete *</remarks> */ public static void Attack(int row, int col) { AttackResult result; result = _theGame.Shoot(row, col); GameController.CheckAttackResult(result); }