//for the attacks I passed in an int to give the option to pick who would attack and who would defend for future upgrades // 0 is current passed in to default the the first attacker and first defender. public void DinoAttack(Fleet robot, int robotSelect, Herd dino, int dinoSelect) // ot sure if i should pass in a int valuen { int damage = dino.herd[dinoSelect].attackPower + dinoAttack.DinoAttackChoice(); robot.fleet[robotSelect].health -= damage; dino.herd[dinoSelect].energy -= attackDrain; Console.WriteLine(Regex.Replace(dino.herd[dinoSelect].type + " attack " + robot.fleet[robotSelect].name + " for " + damage + " points of damage", " {2,}", " ")); Console.WriteLine("any key to continue."); Console.ReadLine(); RobotDeath(robot, robotSelect); }