-
-
Constructor Summary
Constructors
-
Method Summary
boolean
Test if the action is valid.
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
DropGoalAction
public DropGoalAction(RGoal goal)
Create a new action.
-
Method Details
-
isValid
public boolean isValid()
Test if the action is valid.
- Returns:
- True, if action is valid.
-
run
public void run()
Execute the command.
- Specified by:
run
in interface Runnable