Package edu.tufts.hrilab.unity
Class MockUnitySpaceStationImpl
java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.unity.MockUnitySpaceStationImpl
-
Field Summary
Fields inherited from class edu.tufts.hrilab.diarc.DiarcComponent
executionLoopCycleTime, log, shouldRunExecutionLoop
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
Gets the health of the space station as a float [0:100].boolean
Gets the broken state of a tube, true if broken.boolean
Gets the damaged state of a tube, true if damaged.float
Gets the health of a specific tube via name as a float [0:100].boolean
getSpaceStationTubeOff
(Symbol tube) Gets the off state of a tube, true if off.Gets a list of broken tubes, optionally limited to the area.Gets a list of damaged tubes, optionally limited to the area.Gets a list of off tubes, optionally limited to a area.Methods inherited from class edu.tufts.hrilab.diarc.DiarcComponent
additionalUsageInfo, createInstance, createInstance, createInstance, createInstance, executionLoop, getMyGroupConstraints, getMyGroups, getMyService, getMyServices, init, main, parseArgs, shutdown, shutdownComponent
-
Constructor Details
-
MockUnitySpaceStationImpl
public MockUnitySpaceStationImpl()
-
-
Method Details
-
getSpaceStationHealth
public float getSpaceStationHealth()Gets the health of the space station as a float [0:100]. -
getSpaceStationTubesDamaged
Gets a list of damaged tubes, optionally limited to the area. -
getSpaceStationTubesDamaged
-
getWingsWithAlerts
-
getSpaceStationTubesBroken
Gets a list of broken tubes, optionally limited to the area. -
getSpaceStationTubesBroken
-
getSpaceStationTubesOff
Gets a list of off tubes, optionally limited to a area. -
getSpaceStationTubesOff
-
getSpaceStationTubeHealth
Gets the health of a specific tube via name as a float [0:100]. -
getSpaceStationTubeDamaged
Gets the damaged state of a tube, true if damaged. -
getSpaceStationTubeBroken
Gets the broken state of a tube, true if broken. -
getSpaceStationTubeOff
Gets the off state of a tube, true if off.
-