Resets this Bob.
Changes the position to the values given, and optionally changes the frame.
Also resets the flipX and flipY values, sets alpha back to 1 and visible to true.
name | type | arguments | description |
---|---|---|---|
x | number |
The x position of the Bob. Bob coordinate are relative to the position of the Blitter object. |
|
y | number |
The y position of the Bob. Bob coordinate are relative to the position of the Blitter object. |
|
frame | string | number | Phaser.Textures.Frame | <optional> |
The Frame the Bob will use. It must be part of the Texture the parent Blitter object is using. |
This Bob Game Object.