for(Element e : root.getChild("history").getChildren("step"))
{
String s = e.getChildren("step-number").get(0).getText();
int stepnum = Integer.parseInt(s);
String action_term = e.getChildren("move").get(player_id).getText();
GroundFact fact = createAction(action_term,role);
actions.put(stepnum, new SerializableAction(fact));
}
}
// Register the state-action couples by browsing the step_x.xml