Class Interact
java.lang.Object
edu.tufts.hrilab.polycraft.actions.GameAction
edu.tufts.hrilab.polycraft.actions.Active
edu.tufts.hrilab.polycraft.actions.Interact
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class edu.tufts.hrilab.polycraft.actions.Active
failMessage
Fields 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.Active
canChangeGameState, getFailMessage, getMessage
Methods inherited from class edu.tufts.hrilab.polycraft.actions.GameAction
getMaxResponseWait, getRawResponse, insertResponse, setGameOver
-
Field Details
-
parsedResponse
-
entityID
-
-
Constructor Details
-
Interact
-
-
Method Details
-
getTradeOption
-
getCommand
- Specified by:
getCommand
in classGameAction
-
getSuccess
public boolean getSuccess()- Overrides:
getSuccess
in classActive
-
getStepCost
public double getStepCost()- Overrides:
getStepCost
in classActive
-
parseResponse
protected void parseResponse()- Overrides:
parseResponse
in classActive
-
getAssertions
- Overrides:
getAssertions
in classActive
-