Instance Method

removeAllGoals

Removes all goals from the behavior.

Declaration

- (void)removeAllGoals;

See Also

Managing a Behavior’s Set of Goals

- setWeight:forGoal:

Sets the weight for the specified goal’s influence on agents, adding that goal to the behavior if not already present.

- weightForGoal:

Returns the weight for the specified goal’s influence on agents.

- removeGoal:

Removes the specified goal from the behavior.

goalCount

The number of goals in the behavior.