Closed Daniel-Martinez closed 10 years ago
created a method for Operator to type "scoundrels" and a list of targets that are enemies are displayed.
case "scoundrels":
for (int i = 0; i < targetList.Count; i++)
{
if (targetList[i].isFriend != true) //if not a freind print from target list.
{
Console.Write("Target: " + targetList[i].Name + "\n");
Console.Write("Friend: No He's a scoundrel with a clever disguise\n");
Console.Write("Position: " + " x=" + targetList[i].X + ", y=" + targetList[i].Y + ", z=" + targetList[i].Z + "\n");
Console.Write("Points: " + targetList[i].score + "\n");
Console.Write("Status: " + targetList[i].Status + "\n");
Console.Write("\n");
}
}
break;
create a method that allows the Operator to see targets who are enemies.