@@ -50,7 +50,6 @@ declare module Phaser {
5050
5151 constructor ( game : Phaser . Game , parent : Phaser . Sprite , name : string , frameData : Phaser . FrameData , frames : any [ ] , frameRate ?: number , loop ?: boolean ) ;
5252
53- currentAnim : Phaser . Animation ;
5453 currentFrame : Phaser . Frame ;
5554 delay : number ;
5655 enableUpdate : boolean ;
@@ -678,19 +677,6 @@ declare module Phaser {
678677
679678 }
680679
681- class DOMSprite {
682- //constructor
683- constructor ( game : Phaser . Game , id : string , x : number , y : number , text : string , style : any ) ;
684- //members
685- alive : boolean ;
686- exists : boolean ;
687- game : Phaser . Game ;
688- group : Phaser . Group ;
689- name : string ;
690- type : number ;
691- visible : boolean ;
692- }
693-
694680 module Easing {
695681
696682 var Default : Function ;
@@ -2695,7 +2681,7 @@ declare module Phaser {
26952681 createParticle ( x : number , y : number , mass : number , addToWorld ?: boolean , options ?: p2 . BodyOptions , data ?: number [ ] [ ] ) : Phaser . Physics . P2 . Body ;
26962682 createParticle ( x : number , y : number , mass : number , addToWorld ?: boolean , options ?: p2 . BodyOptions , data ?: number [ ] ) : Phaser . Physics . P2 . Body ;
26972683 createPrismaticConstraint ( body : any , bodyB : any , lockRotation ?: boolean , anchorA ?: number [ ] , anchorB ?: number [ ] , axis ?: Float32Array , maxForce ?: number ) : Phaser . Physics . P2 . PrismaticConstraint ;
2698- createRevoluteConstraint ( bodyA : any , pivotA : number [ ] , bodyB : any , pivotB : number [ ] , maxForce ?: number , worldPivot ?: number [ ] ) : Phaser . Physics . P2 . RevoluteContraint ;
2684+ createRevoluteConstraint ( bodyA : any , pivotA : number [ ] , bodyB : any , pivotB : number [ ] , maxForce ?: number , worldPivot ?: number [ ] ) : Phaser . Physics . P2 . RevoluteConstraint ;
26992685 createRotationalSpring ( bodyA : any , bodyB : any , restAngle ?: number , stiffness ?: number , damping ?: number ) : p2 . RotationalSpring ;
27002686 createSpring ( bodyA : any , bodyB : any , restLength ?: number , stiffness ?: number , damping ?: number , worldA ?: number [ ] , worldB ?: number [ ] , localA ?: number [ ] , localB ?: number [ ] ) : Phaser . Physics . P2 . Spring ;
27012687 destroy ( ) : void ;
@@ -2939,7 +2925,7 @@ declare module Phaser {
29392925
29402926 }
29412927
2942- class RevoluteContraint extends p2 . RevoluteConstraint {
2928+ class RevoluteConstraint extends p2 . RevoluteConstraint {
29432929
29442930 constructor ( world : Phaser . Physics . P2 , bodyA : Phaser . Physics . P2 . Body , pivotA : number [ ] , bodyB : Phaser . Physics . P2 . Body , pivotB : number [ ] , maxForce ?: number ) ;
29452931
@@ -2960,7 +2946,7 @@ declare module Phaser {
29602946 }
29612947 }
29622948
2963- class Plugin extends StateCycle {
2949+ class Plugin implements IStateCycle {
29642950
29652951 constructor ( game : Phaser . Game , parent : any ) ;
29662952
@@ -3155,7 +3141,7 @@ declare module Phaser {
31553141
31563142 }
31573143
3158- class PluginManager extends StateCycle {
3144+ class PluginManager implements IStateCycle {
31593145
31603146 constructor ( game : Phaser . Game , parent : any ) ;
31613147
@@ -3959,14 +3945,13 @@ declare module Phaser {
39593945
39603946 }
39613947
3962- class StateCycle {
3948+ interface IStateCycle {
39633949
39643950 preUpdate ( ) : void ;
39653951 update ( ) : void ;
39663952 render ( ) : void ;
39673953 postRender ( ) : void ;
39683954 destroy ( ) : void ;
3969-
39703955 }
39713956
39723957 class StateManager {
0 commit comments