Class SenseAll
java.lang.Object
edu.tufts.hrilab.polycraft.actions.GameAction
edu.tufts.hrilab.polycraft.actions.sense.Sense
edu.tufts.hrilab.polycraft.actions.sense.SenseAll
- Direct Known Subclasses:
ModelResult
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Entities
protected Inventory
protected Map
protected SenseAll.ParsedResponse
Fields inherited from class edu.tufts.hrilab.polycraft.actions.GameAction
log, maxResponseWait, rawResponse, receivedResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocationAssertions
(boolean includeAir) double
boolean
protected void
Methods inherited from class edu.tufts.hrilab.polycraft.actions.sense.Sense
canChangeGameState
Methods inherited from class edu.tufts.hrilab.polycraft.actions.GameAction
getMaxResponseWait, getRawResponse, insertResponse, setGameOver
-
Field Details
-
parsedResponse
-
map
-
entities
-
inventory
-
-
Constructor Details
-
SenseAll
public SenseAll()
-
-
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
-
getLocationAssertions
- Overrides:
getLocationAssertions
in classSense
-