Example #1
0
  public List<Integer> getGoals() throws GoalDefinitionException {
    List<Integer> goals = new ArrayList<Integer>();
    for (Role role : stateMachine.getRoles()) {
      goals.add(stateMachine.getGoal(currentState, role));
    }

    return goals;
  }