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
failMessageFields inherited from class edu.tufts.hrilab.polycraft.actions.GameAction
log, maxResponseWait, rawResponse, receivedResponse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleanprotected voidMethods inherited from class edu.tufts.hrilab.polycraft.actions.Active
canChangeGameState, getFailMessage, getMessageMethods 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:
getCommandin classGameAction
-
getSuccess
public boolean getSuccess()- Overrides:
getSuccessin classActive
-
getStepCost
public double getStepCost()- Overrides:
getStepCostin classActive
-
parseResponse
protected void parseResponse()- Overrides:
parseResponsein classActive
-
getAssertions
- Overrides:
getAssertionsin classActive
-