Merge pull request #546 from qdrj/1.2

fix Phaser.Utils.Debug definitions
This commit is contained in:
Richard Davey 2014-03-12 12:20:46 +00:00
commit fd46df115b

63
build/phaser.d.ts vendored
View file

@ -1885,7 +1885,7 @@ declare module Phaser {
postUpdate(): void;
preUpdate(): void;
update(): void;
z: nummber;
z: number;
}
class Group extends PIXI.DisplayObjectContainer {
@ -1961,7 +1961,7 @@ declare module Phaser {
swap(child1: any, child2: any): boolean;
update(): void;
updateZ(): void;
z: nummber;
z: number;
}
class Image extends PIXI.Sprite {
@ -2007,7 +2007,7 @@ declare module Phaser {
reset(x: number, y: number): Phaser.Image;
revive(): Phaser.Image;
update(): void;
z: nummber;
z: number;
}
class Input {
@ -3318,7 +3318,7 @@ declare module Phaser {
reset(x: number, y: number, health?: number): Phaser.Sprite;
revive(health?: number): Phaser.Sprite;
update(): void;
z: nummber;
z: number;
}
class SpriteBatch extends Phaser.Group {
@ -3516,7 +3516,7 @@ declare module Phaser {
setShadow(x?: number, y?: number, color?: Object, blur?: number): void;
setStyle(style?: { font?: string; fill?: Object; align?: string; stroke?: string; strokeThickness?: number; wordWrap?: boolean; wordWrapWidth?: number; shadowOffsetX?: number; shadowOffsetY?: number; shadowColor?: string; shadowBlur?: number; }): void;
update(): void;
z: nummber;
z: number;
}
class Tile {
@ -3690,7 +3690,7 @@ declare module Phaser {
renderDebug(): void;
resizeWorld(): void;
updateMax(): void;
z: nummber;
z: number;
}
class TilemapParser {
@ -3754,7 +3754,7 @@ declare module Phaser {
preUpdate(): void;
stopScroll(): void;
update(): void;
z: nummber;
z: number;
}
class Time {
@ -3931,37 +3931,24 @@ declare module Phaser {
lineHeight: number;
renderShadow: boolean;
//methods
line(text: string, x: number, y: number): void;
renderBodyInfo(sprite: Phaser.Sprite, x: number, y: Number, color?: string): void;
renderCameraInfo(camera: Phaser.Camera, x: number, y: number, color?: string): void;
renderCircle(circle: Phaser.Circle, color?: string): void;
renderInputInfo(x: number, y: number, color?: string): void;
renderLine(line: Phaser.Line, color: string): void;
renderLineInfo(line: Phaser.Line, x: number, y: number, color?: string): void;
renderPhysicsBody(body: Phaser.Physics.Arcade.Body, color?: string): void;
renderPixel(x: number, y: number, color?: string): void;
renderPoint(point: Phaser.Point, color?: string): void;
renderPointer(pointer: Phaser.Pointer, hideIfUp?: boolean, downColor?: string, upColor?: string, color?: string): void;
renderPointInfo(point: Phaser.Point, x: number, y: number, color?: string): void;
renderRectangle(rect: Phaser.Rectangle, color?: string, filled?: boolean): void;
renderShapeCircle(x: number, y: number, bodyAngle: number, shape: any, offset: any[], angle: number): void;
renderShapeConvex(x: number, y: number, bodyAngle: number, shape: any, offset: any[], angle: number): void;
renderShapeLine(x: number, y: number, bodyAngle: number, shape: any, offset: any[], angle: number): void;
renderShapeRectangle(x: number, y: number, bodyAngle: number, shape: any, offset: any[], angle: number): void;
renderSoundInfo(sound: Phaser.Sound, x: number, y: number, color?: string): void;
renderSpriteBounds(sprite: Phaser.Sprite, color?: string, filled?: boolean): void;
renderSpriteCoords(line: Phaser.Sprite, x: number, y: number, color?: string): void;
renderSpriteInfo(sprite: Phaser.Sprite, x: number, y: number, color?: string): void;
renderSpriteInputInfo(sprite: Phaser.Sprite, x: number, y: number, color?: string): void;
renderText(text: string, x: number, y: number, color?: string, font?: string): void;
splitline(text: string): void;
start(x?: number, y?: number, color?: string, columnWidth?:number): void;
stop(): void;
//depricated?
renderPolygon(polygon: any[], color?: string): void;
renderQuadTree(quadtree: Phaser.QuadTree, color: string): void;
renderShape(shape:any, x: number, y: number, angle: number);
bodyInfo(sprite: Phaser.Sprite, x: number, y: Number, color?: string): void;
cameraInfo(camera: Phaser.Camera, x: number, y: number, color?: string): void;
geom(object: any, color?: string, fiiled?: boolean, forceType?: number): void;
inputInfo(x: number, y: number, color?: string): void;
lineInfo(line: Phaser.Line, x: number, y: number, color?: string): void;
key(key: Phaser.Key, x?: number, y?: number, color?: string);
line(text: string): void;
pixel(x: number, y: number, color?: string): void;
pointer(pointer: Phaser.Pointer, hideIfUp?: boolean, downColor?: string, upColor?: string, color?: string): void;
quadTree(quadtree: Phaser.QuadTree, color?: string): void;
soundInfo(sound: Phaser.Sound, x: number, y: number, color?: string): void;
spriteBounds(sprite: Phaser.Sprite, color?: string, filled?: boolean): void;
spriteBounds(sprite: Phaser.Image, color?: string, filled?: boolean): void;
spriteCoords(sprite: Phaser.Sprite, x: number, y: number, color?: string): void;
spriteCoords(image: Phaser.Image, x: number, y: number, color?: string): void;
spriteInfo(sprite: Phaser.Sprite, x: number, y: number, color?: string): void;
spriteInputInfo(sprite: Phaser.Sprite, x: number, y: number, color?: string): void;
text(text: string, x: number, y: number, color?: string, font?: string): void;
}
}