|
1 | 1 | /// <reference path="pixi.d.ts" /> |
2 | 2 |
|
3 | | -// Type definitions for Phaser 2.2.0 dev 2014-11-24 |
| 3 | +// Type definitions for Phaser dev2.2.0 RC12 2014-11-26 |
4 | 4 | // Project: https://github.com/photonstorm/phaser |
5 | 5 |
|
6 | 6 | declare class Phaser { |
@@ -1144,6 +1144,7 @@ declare module Phaser { |
1144 | 1144 | canvas: HTMLCanvasElement; |
1145 | 1145 | config: IGameConfig; |
1146 | 1146 | context: any; |
| 1147 | + count: number; |
1147 | 1148 | debug: Phaser.Utils.Debug; |
1148 | 1149 | device: Phaser.Device; |
1149 | 1150 | forceSingleUpdate: boolean; |
@@ -1182,6 +1183,8 @@ declare module Phaser { |
1182 | 1183 | time: Phaser.Time; |
1183 | 1184 | transparent: boolean; |
1184 | 1185 | tweens: Phaser.TweenManager; |
| 1186 | + updateNumber: number; |
| 1187 | + updatesThisFrame: number; |
1185 | 1188 | width: number; |
1186 | 1189 | world: Phaser.World; |
1187 | 1190 |
|
@@ -2715,6 +2718,7 @@ declare module Phaser { |
2715 | 2718 | removeConstraint<T>(constraint: T): T; |
2716 | 2719 | removeContactMaterial(material: Phaser.Physics.P2.ContactMaterial): Phaser.Physics.P2.ContactMaterial; |
2717 | 2720 | removeSpring(spring: Phaser.Physics.P2.Spring): Phaser.Physics.P2.Spring; |
| 2721 | + reset(): void; |
2718 | 2722 | resume(): void; |
2719 | 2723 | setBounds(x: number, y: number, width: number, height: number, left?: Boolean, right?: boolean, top?: boolean, bottom?: boolean, setCollisionGroup?: boolean): void; |
2720 | 2724 | setBoundsToWorld(left?: boolean, right?: boolean, top?: boolean, bottom?: boolean, setCollisionGroup?: boolean): void; |
@@ -2835,7 +2839,6 @@ declare module Phaser { |
2835 | 2839 | canvas: Phaser.Graphics; |
2836 | 2840 | ppu: number; |
2837 | 2841 |
|
2838 | | - update(): void; |
2839 | 2842 | updateSpriteTransform(): void; |
2840 | 2843 | draw(): void; |
2841 | 2844 |
|
@@ -4323,6 +4326,7 @@ declare module Phaser { |
4323 | 4326 | pausedTime: number; |
4324 | 4327 | pauseDuration: number; |
4325 | 4328 | physicsElapsed: number; |
| 4329 | + physicsElapsedMS: number; |
4326 | 4330 | prevTime: number; |
4327 | 4331 | slowMotion: number; |
4328 | 4332 | suggestedFps: number; |
|
0 commit comments