jill/src/main/java/io/github/agentsoz/jill/struct/AgentType.java
public void addGoal(byte goal) {
    goals = GoalPlanType.grow(goals, 1);
    goals[goals.length - 1] = goal;
  }
public void addGoal(byte goal) {
    goals = GoalPlanType.grow(goals, 1);
    goals[goals.length - 1] = goal;
  }
<p>addGoal.</p>

@param goal a byte.