mirror of
https://github.com/RAIRLab/Spectra.git
synced 2024-11-21 16:36:29 -05:00
Delete goal method.
This commit is contained in:
parent
1476d80eab
commit
6919c09a4a
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,13 @@ public class GoalTracker {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void deleteGoal(Goal goal){
|
||||||
|
|
||||||
|
currentGoals.remove(goal);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public Optional<Plan> adoptGoal(Goal goal) {
|
public Optional<Plan> adoptGoal(Goal goal) {
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue