Added PlayerProfile.getProbability(LevelComponent.TYPE).

This commit is contained in:
Woody Folsom
2012-03-18 13:03:16 -04:00
parent 554e9af319
commit 0bb61eece8
4 changed files with 35 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ public class ProfileMatcher {
System.out.println("Skill level for this " + closestMatch + " is " + skillLevel + " (based on a score of " + keyScore + " out of 100.)");
return new PlayerProfile(skillLevel, closestMatch);
return new PlayerProfile(skillLevel, closestMatch, playerProfileVector);
}
private static int getKeyScore(Map<SKILL, Integer> playerProfileVector, PlayerProfile.TYPE playerProfileType) {