Class SenseLocation
java.lang.Object
edu.tufts.hrilab.polycraft.actions.GameAction
edu.tufts.hrilab.polycraft.actions.sense.Sense
edu.tufts.hrilab.polycraft.actions.sense.SenseLocation
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class edu.tufts.hrilab.polycraft.actions.GameAction
log, maxResponseWait, rawResponse, receivedResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
protected void
Methods inherited from class edu.tufts.hrilab.polycraft.actions.sense.Sense
canChangeGameState, getLocationAssertions
Methods inherited from class edu.tufts.hrilab.polycraft.actions.GameAction
getMaxResponseWait, getRawResponse, insertResponse, setGameOver
-
Field Details
-
parsedResponse
-
-
Constructor Details
-
SenseLocation
public SenseLocation()
-
-
Method Details
-
getCommand
- Specified by:
getCommand
in classGameAction
-
getSuccess
public boolean getSuccess()- Specified by:
getSuccess
in classGameAction
-
getStepCost
public double getStepCost()- Specified by:
getStepCost
in classGameAction
-
parseResponse
protected void parseResponse()- Specified by:
parseResponse
in classGameAction
-
getAssertions
- Specified by:
getAssertions
in classGameAction
-