Component.Reset

Class: Phaser.Component.Reset

Constructor

new Reset()

The Reset component allows a Game Object to be reset and repositioned to a new location.

Source code: gameobjects/components/Reset.js (Line 12)

Public Methods

reset(x, y, health) → {PIXI.DisplayObject}

Resets the Gam