Name | Type | Description |
---|---|---|
json |
Object | optional Json object describing the detection |
Properties:
Name | Type | Description |
---|---|---|
boxes |
Array.<Array.<number>> | List of boxes for detection |
Methods
-
Read the JSON associated to the detection
Name Type Description json
Object Json object describing the detection -
Check the collision between sender and object
Name Type Description sender
MapObject The object that sent test collision object
MapObject The object to test the collision Returns:
Type Description boolean -
Get the sender bounding box
Name Type Description sender
MapObject The object that sent test collision Returns:
Type Description Array.<Array.<number>>