Instance Property

goalCount

The number of goals in the behavior.

Declaration

@property(readonly) NSInteger goalCount;

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.

- removeAllGoals

Removes all goals from the behavior.