Renamed PickRandom to SelectRandom

This commit is contained in:
hondacrx
2017-06-21 11:57:04 -04:00
parent d16d6d57f0
commit 430507a10a
28 changed files with 54 additions and 53 deletions
+2 -2
View File
@@ -159,7 +159,7 @@ namespace Game.AI
}
case SelectAggroTarget.Random:
{
return targetList.PickRandom();
return targetList.SelectRandom();
}
default:
break;
@@ -197,7 +197,7 @@ namespace Game.AI
targetList.Reverse();
if (targetType == SelectAggroTarget.Random)
targetList = targetList.PickRandom(maxTargets).ToList();
targetList = targetList.SelectRandom(maxTargets).ToList();
else
targetList.Resize(maxTargets);