Skip to content

Commit 9ee5cda

Browse files
committed
Merge branch 'origin/dev'
2 parents bca64c2 + 62da24a commit 9ee5cda

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

build/phaser.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,7 @@ declare module Phaser {
845845
visible: boolean;
846846
renderable: boolean;
847847
width: number;
848+
height: number;
848849
health: number;
849850
damage(amount: number): Phaser.Sprite;
850851
}
@@ -1645,9 +1646,9 @@ declare module Phaser {
16451646
tilemap(key: string, tilesetURL: string, mapDataURL?: string, mapData?: Object, format?: string): void;
16461647
tileset(key: string, url: string, tileWidth: number, tileHeight: number, tileMargin?: number, tileSpacing?: number, rows?: number, columns?: number, limit?: number): void;
16471648
bitmapFont(key: string, textureURL: string, xmlURL?: string, xmlData?: Object): void;
1648-
atlasJSONArray(key: string, textureURL: string, atlasURL: string, atlasData: Object): void;
1649-
atlasJSONHash(key: string, textureURL: string, atlasURL: string, atlasData: Object): void;
1650-
atlasXML(key: string, textureURL: string, atlasURL: string, atlasData: Object): void;
1649+
atlasJSONArray(key: string, textureURL: string, atlasURL?: string, atlasData?: Object): void;
1650+
atlasJSONHash(key: string, textureURL: string, atlasURL?: string, atlasData?: Object): void;
1651+
atlasXML(key: string, textureURL: string, atlasURL?: string, atlasData?: Object): void;
16511652
atlas(key: string, textureURL: string, atlasURL?: string, atlasData?: Object, format?: number): void;
16521653
removeFile(key: string): void;
16531654
removeAll(): void;

src/utils/Utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Phaser.Utils = {
3838
* dir = 1 (left), 2 (right), 3 (both)
3939
* @method Phaser.Utils.pad
4040
* @param {string} str - The target string.
41-
* @param {number} len - Description.
42-
* @param {number} pad - the string to pad it out with (defaults to a space).
43-
* @param {number} [dir=3] the direction dir = 1 (left), 2 (right), 3 (both).
41+
* @param {number} len - The number of characters to be added.
42+
* @param {number} pad - The string to pad it out with (defaults to a space).
43+
* @param {number} [dir=3] The direction dir = 1 (left), 2 (right), 3 (both).
4444
* @return {string} The padded string
4545
*/
4646
pad: function (str, len, pad, dir) {

0 commit comments

Comments
 (0)