Class Active
java.lang.Object
edu.tufts.hrilab.supermarket.GameAction
edu.tufts.hrilab.supermarket.actions.Active
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class edu.tufts.hrilab.supermarket.GameAction
maxResponseWait, rawResponse, receivedResponse, RESP_SLEEP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
boolean
protected void
Methods inherited from class edu.tufts.hrilab.supermarket.GameAction
awaitResponse, getCommand, getMaxResponseWait, getRawResponse, insertResponse
-
Field Details
-
parsedResponse
-
-
Constructor Details
-
Active
public Active()
-
-
Method Details
-
getObservation
-
getSuccess
public boolean getSuccess()- Specified by:
getSuccess
in classGameAction
-
getStepCost
public double getStepCost()- Specified by:
getStepCost
in classGameAction
-
getMessage
-
getGameOver
public boolean getGameOver()- Specified by:
getGameOver
in classGameAction
-
parseResponse
protected void parseResponse()- Specified by:
parseResponse
in classGameAction
-