Skip to content

Commit 977f576

Browse files
Small Updates
1 parent 42066f2 commit 977f576

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

typescript/phaser.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference path="pixi.d.ts" />
22

3-
// Type definitions for Phaser 2.2.0 dev 2014-11-24
3+
// Type definitions for Phaser dev2.2.0 RC12 2014-11-26
44
// Project: https://github.com/photonstorm/phaser
55

66
declare class Phaser {
@@ -1144,6 +1144,7 @@ declare module Phaser {
11441144
canvas: HTMLCanvasElement;
11451145
config: IGameConfig;
11461146
context: any;
1147+
count: number;
11471148
debug: Phaser.Utils.Debug;
11481149
device: Phaser.Device;
11491150
forceSingleUpdate: boolean;
@@ -1182,6 +1183,8 @@ declare module Phaser {
11821183
time: Phaser.Time;
11831184
transparent: boolean;
11841185
tweens: Phaser.TweenManager;
1186+
updateNumber: number;
1187+
updatesThisFrame: number;
11851188
width: number;
11861189
world: Phaser.World;
11871190

@@ -2715,6 +2718,7 @@ declare module Phaser {
27152718
removeConstraint<T>(constraint: T): T;
27162719
removeContactMaterial(material: Phaser.Physics.P2.ContactMaterial): Phaser.Physics.P2.ContactMaterial;
27172720
removeSpring(spring: Phaser.Physics.P2.Spring): Phaser.Physics.P2.Spring;
2721+
reset(): void;
27182722
resume(): void;
27192723
setBounds(x: number, y: number, width: number, height: number, left?: Boolean, right?: boolean, top?: boolean, bottom?: boolean, setCollisionGroup?: boolean): void;
27202724
setBoundsToWorld(left?: boolean, right?: boolean, top?: boolean, bottom?: boolean, setCollisionGroup?: boolean): void;
@@ -2835,7 +2839,6 @@ declare module Phaser {
28352839
canvas: Phaser.Graphics;
28362840
ppu: number;
28372841

2838-
update(): void;
28392842
updateSpriteTransform(): void;
28402843
draw(): void;
28412844

@@ -4323,6 +4326,7 @@ declare module Phaser {
43234326
pausedTime: number;
43244327
pauseDuration: number;
43254328
physicsElapsed: number;
4329+
physicsElapsedMS: number;
43264330
prevTime: number;
43274331
slowMotion: number;
43284332
suggestedFps: number;

0 commit comments

Comments
 (0)