- Type Parameters:
O- The type of agentG- The type of goalB- The type of builder, self-referencing
- All Superinterfaces:
CopyableBuilder<G,,B> ResettableBuilder<G,B>
- All Known Subinterfaces:
AttackLivingGoal.Builder,AvoidLivingGoal.Builder,FindNearestAttackableTargetGoal.Builder,LookAtGoal.Builder,LookRandomlyGoal.Builder,RandomWalkingGoal.Builder,RangedAttackAgainstAgentGoal.Builder,RunAroundLikeCrazyGoal.Builder,SwimGoal.Builder,TargetGoal.Builder<A,B>
public interface GoalBuilder<O extends Agent,G extends Goal<O>,B extends GoalBuilder<O,G,B>>
extends CopyableBuilder<G,B>, ResettableBuilder<G,B>
A utility to assist in building
Goals.-
Method Summary
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
fromMethods inherited from interface org.spongepowered.api.util.ResettableBuilder
reset
-
Method Details
-
build
Builds theGoal.- Parameters:
owner- The owner of the task- Returns:
- The goal
-