public class ParallelGoal extends CompositeGoal
completedGoals, failedGoal, goals| Constructor and Description |
|---|
ParallelGoal(Goal[] goals)
Creates a new ParallelGoal.
|
ParallelGoal(java.util.Set<Goal> goals)
Creates a new ParallelGoal.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<Goal> |
createGoals(int size)
Creates an instance of the collection that holds the goals of this
composite goal.
|
getCompletedGoals, getFailedGoal, getGoals, setCompletedGoals, setFailedGoalpublic ParallelGoal(Goal[] goals)
goals - the goals that compose this goal.CompositeGoal.CompositeGoal(Goal[])public ParallelGoal(java.util.Set<Goal> goals)
goals - the goals that compose this goal.CompositeGoal.CompositeGoal(Collection)protected java.util.Collection<Goal> createGoals(int size)
CompositeGoalcreateGoals in class CompositeGoalsize - the size of the collection.CompositeGoal.createGoals(int)