phaser/typescript
2016-02-04 16:00:21 +00:00
..
p2.d.ts split p2 definitions into its own file 2015-03-18 11:44:11 -07:00
phaser.comments.d.ts allow state to be passed to constructor 2016-02-02 13:47:21 +11:00
phaser.d.ts Text.useAdvancedWrap allows you to swap between the Basic and the Advanced word wrapping functions. In Advanced it will wrap long-words and condense and trim excess white space (thanks @soldoutactivist #1811) 2016-02-04 16:00:21 +00:00
pixi.comments.d.ts Force the usage of typescript 1.4.1 2015-11-09 09:53:34 +01:00
pixi.d.ts Huge TypeScript defs update (thanks to @clark-stevenson - this is all of the changes from #2156 merged into the current build) 2016-02-02 23:30:03 +00:00
readme.md Updated TypeScript Readme 2015-08-01 12:06:25 +01:00

TypeScript Definitions

Reference the phaser.d.ts in your project.

Please use TypeScript 1.4+

  • phaser.d.ts contains a reference to pixi.d.ts and p2.d.ts and so both these files must remain siblings in the same directory.
  • pixi.d.ts has deviated from the official project. If you are a pixi user, pick up the ball over at the official pixi typescript repo.

Contributing

If you find any mistakes in these definitions or you feel they can be improved in any way, please make a pull request against the dev branch.

Note

Creature and Box2D are not yet defined.