jill/src/main/java/io/github/agentsoz/jill/lang/Agent.java
public byte[] getGoals() {
    byte[] arr = new byte[goals.length];
    System.arraycopy(goals, 0, arr, 0, arr.length);
    return arr;
  }
public byte[] getGoals() {
    byte[] arr = new byte[goals.length];
    System.arraycopy(goals, 0, arr, 0, arr.length);
    return arr;
  }
public byte [ ] getGoals ( ) { byte [ ] arr = new byte [ goals . length ] ; System . arraycopy ( goals , 0 , arr , 0 , arr . length ) ; return arr ; }
Returns this agent's top level goals.

@return {@link io.github.agentsoz.jill.lang.Agent#goals}
Returns this agent s top level goals .