ActionResult for a RemoveObjectAction
The results uniquely for RemoveObjectAction are (as class constants):
OBJECT_REMOVED: If the object was successfully removed.
REMOVAL_FAILED: If the object could not be removed by the
OBJECT_ID_NOT_WITHIN_RANGE: If the object is not within specified range.
NO_OBJECTS_IN_RANGE: If no objects are within range.
- result: str
A string representing the reason for the (expected) success or fail of a
- succeeded: bool
A boolean representing the (expected) success or fail of a
__init__(self, result, succeeded)¶
Initialize self. See help(type(self)) for accurate signature.
__init__(self, result, succeeded)
Result when the specified object is not within the specified range.
Result when the world could not remove the object for some reason.
Result when no objects were within the specified range.