new Animation() The Animation Component provides a play method, which is a proxy to the AnimationManager.play
new InWorld() The InWorld component checks if a Game Object is within the Game World Bounds.An object is considered as being "in
alignTo(parent, position, offsetX, offsetY) → {Object}
game : Phaser.Game A reference to the currently running Game
left : number The left coordinate of the Game Object.This is the same as x - offsetX.
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
new Delta() The Delta component provides access to delta values between the Game Objects current and previous position.
[readonly] deltaY : number Returns the delta y value. The difference between world.y now and
update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate
[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
Page 1 of 9