Skip to content

Commit

Permalink
Update phaser.d.ts
Browse files Browse the repository at this point in the history
SAT removed
Physics modules should all be updated correctly phaserjs#599 
Misc updates from the last week of dev. 

So the TS is upto date and it should be easy to maintain with the latest changes. 

The only thing that bothers me is the historic references to <2.0 and the pre-pixi "any". That kind of thing will be my next update.

My final questions though are these!

1) displayObject: any  can this now be considered PIXI.DisplayObject or should I keep "any"?

2) When an argument can either be a string or a number. Are you stuck with "any" or is there a concept I am missing in TypeScript? It is the same with stuff like "p2.Constraint". In this situation, is it wise to create an IConstraint which all constraints implement, rather than having "any" or is that just even more confusing?

I would like my next pass through to be as acceptable as possible.
  • Loading branch information
clark-stevenson committed Mar 19, 2014
1 parent 22b472b commit 7ab37a8
Showing 1 changed file with 344 additions and 440 deletions.
Loading

0 comments on commit 7ab37a8

Please sign in to comment.