Event#Event

new Event(target, name, data) Creates an homogenous object for tracking events so users can know what to expect. Parameters Name Type Description target Object The target object that the event is called on name String The string name of the event that was triggered data Object Arbitrary event data to pass along Source code: plugins/path/EventTarget.js (Line 202)

Event#data

[readonly] data : Object The data that was passed in with this event. Source code: plugins/path/EventTarget.js (Line 253)

Ellipse.contains()

<static> contains(a, x, y) → {boolean} Return true if the given x/y coordinates are within the Ellipse object. Parameters Name Type Description a Phaser.Ellipse The Ellipse to be checked. x number The X value of the coordinate to test. y number The Y value of the coordinate to test. Returns boolean - True if the coordinates are within this ellipse, otherwise false. Source code: geom/Ellipse.js (Line 299)

Ellipse#y

y : number The Y coordinate of the upper-left corner of the framing rectangle of this ellipse. Source code: geom/Ellipse.js (Line 33)

Ellipse#x

x : number The X coordinate of the upper-left corner of the framing rectangle of this ellipse. Source code: geom/Ellipse.js (Line 28)

Ellipse#width

width : number The overall width of this ellipse. Source code: geom/Ellipse.js (Line 38)

Ellipse#type

[readonly] type : number The const type of this object. Source code: geom/Ellipse.js (Line 49)

Ellipse#toString()

toString() → {string} Returns a string representation of this object. Returns string - A string representation of the instance. Source code: geom/Ellipse.js (Line 177)

Ellipse#top

top : number The top of the Ellipse. The same as its y property. Gets or sets the top of the ellipse. Source code: geom/Ellipse.js (Line 234)

Ellipse#setTo()

setTo(x, y, width, height) → {Phaser.Ellipse} Sets the members of the Ellipse to the specified values. Parameters Name Type Description x number The X coordinate of the upper-left corner of the framing rectangle of this ellipse. y number The Y coordinate of the upper-left corner of the framing rectangle of this ellipse. width number The overall width of this ellipse. height number The overall height of this ellipse. Returns Phaser.Ellipse - This Ellipse object. Source code: g