damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero
resetFrame() Resets the texture frame dimensions that the Game Object uses for rendering. Source
resizeFrame(parent, width, height) Resizes the Frame dimensions that the Game Object uses for rendering. You shouldn't normally
key : string | Phaser.RenderTexture |
debug : boolean A debug flag designed for use with Game.enableStep. Source
destroy(destroyChildren, destroyTexture) Destroys the Game Object. This
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
input : Phaser.InputHandler | null The
new InCamera() The InCamera component checks if the Game Object intersects with the Game Camera.
<static> postUpdate() The FixedToCamera component postUpdate handler.Called automatically
Page 5 of 9