[readonly] fresh : boolean A Game Object is considered fresh if it has just been
exists : boolean Controls if the core game loop and physics update this game object or not.
addChild(child) → {DisplayObject}
resetTilesetCache() The TilemapLayer caches tileset look-ups. Call this method of clear the cache if tilesets have been added
left : number The left coordinate of the Game Object.This is the same as x - offsetX.
heal Heal the Game Object. This adds the given amount of health to the health property. Inherited
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
destroy() Destroys this TilemapLayer. Source code:
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
body : Phaser.Physics.Arcade.Body |
Page 7 of 12