public static class LunarLanderDomain.ThrustType.ThrustAction extends java.lang.Object implements Action
| Modifier and Type | Field and Description |
|---|---|
double |
thrust |
| Constructor and Description |
|---|
ThrustAction() |
ThrustAction(double thrust) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
actionName()
Returns the action name for this grounded action.
|
Action |
copy()
Returns a copy of this grounded action.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public ThrustAction()
public ThrustAction(double thrust)
public java.lang.String actionName()
ActionactionName in interface Actionpublic Action copy()
Actionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object