setHardObjective

public abstract AbstractWanderBackToPoint setHardObjective(boolean hardObjective)

Sets if the priority of this objective is above all other goals. If set to true, this will have a higher probability than any other goal. Otherwise, the priority will be on the level of a random wander. If set to hard, once a goal starts it can not be cancelled by anything else.

Return

Instance for builder pattern

Parameters

hardObjective

If the objective should override all other objectives