Timer#ms

[readonly] ms : number The duration in milliseconds that this Timer has been running for. Source code: time/Timer.js (Line 712)

Physics#setBoundsToWorld()

setBoundsToWorld(left, right, top, bottom, setCollisionGroup) Sets the bounds of the Physics world to match the Game.World dimensions.You can optionally set which 'walls' to create: left, right, top or bottom. Parameters Name Type Argument Default Description left boolean <optional> true If true will create the left bounds wall. right boolean <optional> true If true will create the right bounds wall. top boolean <optional> true If true will create the top bou

World#bringToTop()

bringToTop(child) → {any} Brings the given child to the top of this group so it renders above all other children. Parameters Name Type Description child any The child to bring to the top of this group. Returns any - The child that was moved. Inherited From Phaser.Group#bringToTop Source code: core/Group.js (Line 907)

Line#slope

[readonly] slope : number Gets the slope of the line (y/x). Source code: geom/Line.js (Line 385)

Tileset#tileHeight

[readonly] tileHeight : integer The height of each tile (in pixels). Source code: tilemap/Tileset.js (Line 54)

global#LEFT

<constant> LEFT : integer Direction constant. Source code: Phaser.js (Line 66)

FlexLayer#create()

create(x, y, key, frame, exists, index) → {DisplayObject} Creates a new Phaser.Sprite object and adds it to the top of this group. Use classType to change the type of object created. The child is automatically added to the top of the group, and is displayed above every previous child. Or if the optional index is specified, the child is added at the location specified by the index value,this allows you to control child ordering. If Group.enableBody is set, then a physics body will be created o

Button#top

top : number The y coordinate of the Game Object.This is the same as y - offsetY. Inherited From Phaser.Component.Bounds#top Source code: gameobjects/components/Bounds.js (Line 146)

Physics.P2.BodyDebug#add()

add(child, silent, index) → {DisplayObject} Adds an existing object as the top child in this group. The child is automatically added to the top of the group, and is displayed above every previous child. Or if the optional index is specified, the child is added at the location specified by the index value,this allows you to control child ordering. If the child was already in this Group, it is simply returned, and nothing else happens to it. If Group.enableBody is set, then a physics body will

Net#checkDomainName()

checkDomainName(domain) → {boolean} Compares the given domain name against the hostname of the browser containing the game.If the domain name is found it returns true.You can specify a part of a domain, for example 'google' would match 'google.com', 'google.co.uk', etc.Do not include 'http://' at the start. Parameters Name Type Description domain string Returns boolean - true if the given domain fragment can be found in the window.location.hostname Source code: net/Net.js (Line 38