Class Active
java.lang.Object
edu.tufts.hrilab.polycraft.actions.GameAction
edu.tufts.hrilab.polycraft.actions.Active
- Direct Known Subclasses:
BreakBlock
,Characterization
,Collect
,Craft
,Delete
,Extract
,GiveUp
,Interact
,MoveBack
,MoveForward
,Nop
,Place
,ReportNovelty
,Reset
,Select
,SmoothMove
,SmoothTilt
,SmoothTurn
,Start
,Teleport
,Trade
,Use
-
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 TypeMethodDescriptionboolean
double
boolean
protected void
Methods inherited from class edu.tufts.hrilab.polycraft.actions.GameAction
getCommand, getMaxResponseWait, getRawResponse, insertResponse, setGameOver
-
Field Details
-
parsedResponse
-
failMessage
-
-
Constructor Details
-
Active
public Active()
-
-
Method Details
-
getSuccess
public boolean getSuccess()- Specified by:
getSuccess
in classGameAction
-
getStepCost
public double getStepCost()- Specified by:
getStepCost
in classGameAction
-
canChangeGameState
public boolean canChangeGameState()- Specified by:
canChangeGameState
in classGameAction
-
getAssertions
- Specified by:
getAssertions
in classGameAction
-
parseResponse
protected void parseResponse()- Specified by:
parseResponse
in classGameAction
-
getMessage
-
getFailMessage
-