The Impact Offset component. Should be applied as a mixin.
- Since: 3.0.0
- Source: src/physics/impact/components/Offset.js (Line 7)
Methods
-
setOffset(x, y [, width] [, height])
-
[description]
Parameters:
Name Type Argument Description xnumber [description]
ynumber [description]
widthnumber <optional>
[description]
heightnumber <optional>
[description]
- Since: 3.0.0
- Source: src/physics/impact/components/Offset.js (Line 16)
Returns:
This Game Object.
