//Log.info(LName);
}
public void rollLooks (){
Dice dice = new Dice();
//Iterator<Interval> i = fromList.iterator();
//while ((i.hasNext()) && (result == null)) {
// nowInterval = i.next();
// dice.addOption(Gender, ID);
ArrayList<Looks> nowGroup;
LookType nowLookType;
Looks nowLook;
int nowType;
int nowID;
//fill all look types
//Log.info("Look types count: " + Looks.lookTypes.size());
for (nowType = 0; nowType < Looks.lookTypes.size(); nowType++) {
//nowLookType = Looks.lookTypes.get(nowType);
nowGroup = Looks.looks.get(nowType);
//Log.info(nowLookType+": "+LName);
//fill all looks of this type
for (nowID = 0; nowID < nowGroup.size(); nowID++) {
dice.addOption(nowGroup.get(nowID).frequency, nowID);
//Log.info("Filling chances for look " + nowGroup.get(nowID).LName);
}
dice.rollDice();
looks.add(new SmallPoints(dice.resultID, 100));
//Log.info("Rolled "+nowGroup.get(dice.resultID).LName);
dice.reset();
}
}