mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
v3.24.1 types
This commit is contained in:
parent
4320b6f0ae
commit
268a97b084
1 changed files with 207 additions and 210 deletions
417
types/phaser.d.ts
vendored
417
types/phaser.d.ts
vendored
|
@ -8562,12 +8562,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -9180,6 +9174,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
getTextBounds(round?: boolean): Phaser.Types.GameObjects.BitmapText.BitmapTextSize;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* Changes the font this BitmapText is using to render.
|
||||
*
|
||||
|
@ -9493,12 +9493,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -11524,11 +11518,6 @@ declare namespace Phaser {
|
|||
* Should be applied as a mixin and not used directly.
|
||||
*/
|
||||
interface Origin {
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -11574,6 +11563,11 @@ declare namespace Phaser {
|
|||
* @param y The vertical display origin value. If not defined it will be set to the value of `x`. Default x.
|
||||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -13916,12 +13910,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDepth(value: integer): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -13974,6 +13962,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal scroll factor of this Game Object.
|
||||
*
|
||||
|
@ -14540,12 +14534,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
resetFlip(): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -14598,6 +14586,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal scroll factor of this Game Object.
|
||||
*
|
||||
|
@ -18220,12 +18214,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -18278,6 +18266,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -21769,12 +21763,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -21827,6 +21815,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -23789,12 +23783,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -23847,6 +23835,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -25694,12 +25688,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -25752,6 +25740,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal scroll factor of this Game Object.
|
||||
*
|
||||
|
@ -26359,12 +26353,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -26417,6 +26405,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -27010,12 +27004,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -27068,6 +27056,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -27656,12 +27650,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -27714,6 +27702,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -28387,12 +28381,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -28445,6 +28433,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -29085,12 +29079,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -29143,6 +29131,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -29797,12 +29791,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -29855,6 +29843,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -30465,12 +30459,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -30523,6 +30511,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -31114,12 +31108,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -31172,6 +31160,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -31746,12 +31740,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -31804,6 +31792,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -32468,12 +32462,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -32526,6 +32514,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -33143,12 +33137,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -33201,6 +33189,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -33792,12 +33786,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -33850,6 +33838,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -34482,12 +34476,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -34540,6 +34528,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -35863,12 +35857,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -35921,6 +35909,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -37234,12 +37228,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -37292,6 +37280,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -38517,12 +38511,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -38575,6 +38563,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -39268,12 +39262,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
getBounds<O extends Phaser.Geom.Rectangle>(output?: O): O;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -39326,6 +39314,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The x position of this Game Object.
|
||||
*/
|
||||
|
@ -46275,9 +46269,12 @@ declare namespace Phaser {
|
|||
|
||||
/**
|
||||
* The URL of the file, not including baseURL.
|
||||
* Automatically has Loader.path prepended to it.
|
||||
*
|
||||
* Automatically has Loader.path prepended to it if a string.
|
||||
*
|
||||
* Can also be a JavaScript Object, such as the results of parsing JSON data.
|
||||
*/
|
||||
url: Function | object | string;
|
||||
url: object | string;
|
||||
|
||||
/**
|
||||
* The final URL this file will load from, including baseURL and path.
|
||||
|
@ -46492,11 +46489,11 @@ declare namespace Phaser {
|
|||
* @param loader A reference to the Loader that is responsible for this file.
|
||||
* @param key The key to use for this file, or a file configuration object.
|
||||
* @param textureURL The absolute or relative URL to load the texture image file from. If undefined or `null` it will be set to `<key>.png`, i.e. if `key` was "alien" then the URL will be "alien.png".
|
||||
* @param atlasURL The absolute or relative URL to load the texture atlas json data file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
|
||||
* @param atlasURL The absolute or relative URL to load the texture atlas json data file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json". Or, a well formed JSON object.
|
||||
* @param textureXhrSettings An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
|
||||
* @param atlasXhrSettings An XHR Settings configuration object for the atlas json file. Used in replacement of the Loaders default XHR Settings.
|
||||
*/
|
||||
constructor(loader: Phaser.Loader.LoaderPlugin, key: string | Phaser.Types.Loader.FileTypes.AtlasJSONFileConfig, textureURL?: string | string[], atlasURL?: string, textureXhrSettings?: Phaser.Types.Loader.XHRSettingsObject, atlasXhrSettings?: Phaser.Types.Loader.XHRSettingsObject);
|
||||
constructor(loader: Phaser.Loader.LoaderPlugin, key: string | Phaser.Types.Loader.FileTypes.AtlasJSONFileConfig, textureURL?: string | string[], atlasURL?: object | string, textureXhrSettings?: Phaser.Types.Loader.XHRSettingsObject, atlasXhrSettings?: Phaser.Types.Loader.XHRSettingsObject);
|
||||
|
||||
/**
|
||||
* Adds this file to its target cache upon successful loading and processing.
|
||||
|
@ -46857,11 +46854,11 @@ declare namespace Phaser {
|
|||
*
|
||||
* @param loader A reference to the Loader that is responsible for this file.
|
||||
* @param key The key to use for this file, or a file configuration object.
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json". Or, can be a fully formed JSON Object.
|
||||
* @param xhrSettings Extra XHR Settings specifically for this file.
|
||||
* @param dataKey When the JSON file loads only this property will be stored in the Cache.
|
||||
*/
|
||||
constructor(loader: Phaser.Loader.LoaderPlugin, key: string | Phaser.Types.Loader.FileTypes.JSONFileConfig, url?: string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject, dataKey?: string);
|
||||
constructor(loader: Phaser.Loader.LoaderPlugin, key: string | Phaser.Types.Loader.FileTypes.JSONFileConfig, url?: object | string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject, dataKey?: string);
|
||||
|
||||
/**
|
||||
* Called automatically by Loader.nextFile.
|
||||
|
@ -47210,10 +47207,10 @@ declare namespace Phaser {
|
|||
*
|
||||
* @param loader A reference to the Loader that is responsible for this file.
|
||||
* @param key The key to use for this file, or a file configuration object.
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json". Or, a well formed JSON object.
|
||||
* @param xhrSettings Extra XHR Settings specifically for this file.
|
||||
*/
|
||||
constructor(loader: Phaser.Loader.LoaderPlugin, key: string | Phaser.Types.Loader.FileTypes.TilemapJSONFileConfig, url?: string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject);
|
||||
constructor(loader: Phaser.Loader.LoaderPlugin, key: string | Phaser.Types.Loader.FileTypes.TilemapJSONFileConfig, url?: object | string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject);
|
||||
|
||||
/**
|
||||
* Adds this file to its target cache upon successful loading and processing.
|
||||
|
@ -47561,11 +47558,11 @@ declare namespace Phaser {
|
|||
* It is available in the default build but can be excluded from custom builds.
|
||||
* @param key The key to use for this file, or a file configuration object, or array of them.
|
||||
* @param textureURL The absolute or relative URL to load the texture image file from. If undefined or `null` it will be set to `<key>.png`, i.e. if `key` was "alien" then the URL will be "alien.png".
|
||||
* @param atlasURL The absolute or relative URL to load the texture atlas json data file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
|
||||
* @param atlasURL The absolute or relative URL to load the texture atlas json data file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json". Or, a well formed JSON object.
|
||||
* @param textureXhrSettings An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
|
||||
* @param atlasXhrSettings An XHR Settings configuration object for the atlas json file. Used in replacement of the Loaders default XHR Settings.
|
||||
*/
|
||||
atlas(key: string | Phaser.Types.Loader.FileTypes.AtlasJSONFileConfig | Phaser.Types.Loader.FileTypes.AtlasJSONFileConfig[], textureURL?: string | string[], atlasURL?: string, textureXhrSettings?: Phaser.Types.Loader.XHRSettingsObject, atlasXhrSettings?: Phaser.Types.Loader.XHRSettingsObject): this;
|
||||
atlas(key: string | Phaser.Types.Loader.FileTypes.AtlasJSONFileConfig | Phaser.Types.Loader.FileTypes.AtlasJSONFileConfig[], textureURL?: string | string[], atlasURL?: object | string, textureXhrSettings?: Phaser.Types.Loader.XHRSettingsObject, atlasXhrSettings?: Phaser.Types.Loader.XHRSettingsObject): this;
|
||||
|
||||
/**
|
||||
* Adds an XML based Texture Atlas, or array of atlases, to the current load queue.
|
||||
|
@ -48384,11 +48381,11 @@ declare namespace Phaser {
|
|||
* Note: The ability to load this type of file will only be available if the JSON File type has been built into Phaser.
|
||||
* It is available in the default build but can be excluded from custom builds.
|
||||
* @param key The key to use for this file, or a file configuration object, or array of them.
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json". Or, can be a fully formed JSON Object.
|
||||
* @param dataKey When the JSON file loads only this property will be stored in the Cache.
|
||||
* @param xhrSettings An XHR Settings configuration object. Used in replacement of the Loaders default XHR Settings.
|
||||
*/
|
||||
json(key: string | Phaser.Types.Loader.FileTypes.JSONFileConfig | Phaser.Types.Loader.FileTypes.JSONFileConfig[], url?: string, dataKey?: string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject): this;
|
||||
json(key: string | Phaser.Types.Loader.FileTypes.JSONFileConfig | Phaser.Types.Loader.FileTypes.JSONFileConfig[], url?: object | string, dataKey?: string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject): this;
|
||||
|
||||
/**
|
||||
* Adds a Multi Texture Atlas, or array of multi atlases, to the current load queue.
|
||||
|
@ -49366,10 +49363,10 @@ declare namespace Phaser {
|
|||
* Note: The ability to load this type of file will only be available if the Tilemap JSON File type has been built into Phaser.
|
||||
* It is available in the default build but can be excluded from custom builds.
|
||||
* @param key The key to use for this file, or a file configuration object, or array of them.
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
|
||||
* @param url The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json". Or, a well formed JSON object.
|
||||
* @param xhrSettings An XHR Settings configuration object. Used in replacement of the Loaders default XHR Settings.
|
||||
*/
|
||||
tilemapTiledJSON(key: string | Phaser.Types.Loader.FileTypes.TilemapJSONFileConfig | Phaser.Types.Loader.FileTypes.TilemapJSONFileConfig[], url?: string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject): this;
|
||||
tilemapTiledJSON(key: string | Phaser.Types.Loader.FileTypes.TilemapJSONFileConfig | Phaser.Types.Loader.FileTypes.TilemapJSONFileConfig[], url?: object | string, xhrSettings?: Phaser.Types.Loader.XHRSettingsObject): this;
|
||||
|
||||
/**
|
||||
* Adds a Unity YAML based Texture Atlas, or array of atlases, to the current load queue.
|
||||
|
@ -51542,7 +51539,7 @@ declare namespace Phaser {
|
|||
* @param angle The angle of rotation in radians.
|
||||
* @param distance The distance from (x, y) to place the point at.
|
||||
*/
|
||||
function RotateTo<T extends Phaser.Math.Vector2Like>(point: T, x: number, y: number, angle: number, distance: number): T;
|
||||
function RotateTo<T extends Phaser.Types.Math.Vector2Like>(point: T, x: number, y: number, angle: number, distance: number): T;
|
||||
|
||||
/**
|
||||
* Rotates a vector in place by axis angle.
|
||||
|
@ -55437,9 +55434,9 @@ declare namespace Phaser {
|
|||
*/
|
||||
normalMap?: string;
|
||||
/**
|
||||
* The absolute or relative URL to load the atlas json file from. Or a well formed JSON object to use instead.
|
||||
* The absolute or relative URL to load the atlas json file from. Or, a well formed JSON object to use instead.
|
||||
*/
|
||||
atlasURL?: string;
|
||||
atlasURL?: object | string;
|
||||
/**
|
||||
* The default file extension to use for the atlas json if no url is provided.
|
||||
*/
|
||||
|
@ -56074,9 +56071,9 @@ declare namespace Phaser {
|
|||
*/
|
||||
key: string;
|
||||
/**
|
||||
* The absolute or relative URL to load the file from.
|
||||
* The absolute or relative URL to load the file from. Or, a well formed JSON object.
|
||||
*/
|
||||
url?: string;
|
||||
url?: object | string;
|
||||
/**
|
||||
* The default file extension to use if no url is provided.
|
||||
*/
|
||||
|
@ -59613,12 +59610,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -59671,6 +59662,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -61118,12 +61115,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -61176,6 +61167,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -66437,12 +66434,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -66495,6 +66486,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -68250,12 +68247,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
createGeometryMask(graphics?: Phaser.GameObjects.Graphics): Phaser.Display.Masks.GeometryMask;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -68308,6 +68299,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -79605,12 +79602,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
getBounds<O extends Phaser.Geom.Rectangle>(output?: O): O;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -79663,6 +79654,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
@ -81356,12 +81353,6 @@ declare namespace Phaser {
|
|||
*/
|
||||
getBounds<O extends Phaser.Geom.Rectangle>(output?: O): O;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The horizontal origin of this Game Object.
|
||||
* The origin maps the relationship between the size and position of the Game Object.
|
||||
|
@ -81414,6 +81405,12 @@ declare namespace Phaser {
|
|||
*/
|
||||
setDisplayOrigin(x?: number, y?: number): this;
|
||||
|
||||
/**
|
||||
* Updates the Display Origin cached values internally stored on this Game Object.
|
||||
* You don't usually call this directly, but it is exposed for edge-cases where you may.
|
||||
*/
|
||||
updateDisplayOrigin(): this;
|
||||
|
||||
/**
|
||||
* The initial WebGL pipeline of this Game Object.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue