public static PropNet create(List<Gdl> description)
{
try {
List<GdlRule> flatDescription = new PropNetFlattener(description).flatten();
GamerLogger.log("StateMachine", "Converting...");
return new PropNetConverter().convert(Role.computeRoles(description), flatDescription);
} catch(Exception e) {
GamerLogger.logStackTrace("StateMachine", e);
return null;
}
}