Commit graph

66 commits

Author SHA1 Message Date
Richard Davey
4d8f9e8723 Merge pull request #1600 from vulvulune/dev
Refactoring of the script to generate comments.d.ts
2015-02-05 22:57:09 +00:00
vulvulune
b8665f2979 Refactoring of the script to generate comments.d.ts
Refactoring of the script to generate comments.d.ts files.
Using typescript package instead of typescript-services (not maintened
anymore)

Update of the phaser.comments.d.ts with the last dev version.
2015-02-05 21:30:28 +01:00
Richard Davey
2aeafada98 Merge pull request #1558 from vulvulune/ts
Update typescript definitions
2015-02-03 20:50:46 +00:00
Richard Davey
9a4af85156 Merge pull request #1544 from belohlavek/master
Fixed some properties and parameterers in phaser.d.ts
2015-02-03 20:49:11 +00:00
Richard Davey
6d05752ce5 Merge pull request #1569 from Bilge/patch-2
Correct PluginManager.add first parameter.
2015-02-03 20:46:11 +00:00
Richard Davey
c141e8ff01 Merge pull request #1579 from Phaiax/phaserdts-bitmapdata-update
phaser.d.ts: BitmapData.update
2015-02-03 20:44:26 +00:00
Richard Davey
8f3f759c18 Merge pull request #1570 from Bilge/patch-3
Compact overloaded constructor using union syntax.
2015-02-03 20:40:59 +00:00
Richard Davey
ad9b8ae8e1 Merge pull request #1568 from Bilge/patch-1
Added missing plugins member in Phaser.Game class.
2015-02-03 20:31:26 +00:00
Phaiax
b1e3edcbcc phaser.d.ts: BitmapData.update 2015-01-28 18:34:27 +01:00
vulvulune
c4f78340b9 Update TypeScript definitions
Remove x, y on the Phaser.Group class (inheriting)
2015-01-27 16:05:58 +01:00
vulvulune
c1822f208a Update TypeScript definitions
Improve Phaser.Physics.Ninja
2015-01-27 15:46:20 +01:00
vulvulune
85dd149085 Update Typescript definitions
Add the plugin Juicy
2015-01-27 15:14:18 +01:00
vulvulune
1d99a94453 Update typescript definitions
Correct Phaser.Stage.checkVisiblity => checkVisibility
2015-01-27 14:09:26 +01:00
vulvulune
33dd8d883e Update typescript definitions
Add a lot of functions and members and fix some errors
2015-01-27 13:14:06 +01:00
Bilge
ea9fd08718 Compact overloaded constructor using union syntax. 2015-01-25 01:22:01 +00:00
Bilge
07f35b9614 Correct PluginManager.add first parameter. 2015-01-24 23:00:05 +00:00
Bilge
340d5710b6 Correct PluginManager.add first parameter.
`PluginManager.add` accepts both plugin instances and plugin prototypes. The next version of TypeScript will support unions, at which time the type should be updated to `Phaser.Plugin|typeof Phaser.Plugin`. Until then we have to settle for `any` type.
2015-01-24 22:44:35 +00:00
Bilge
6f6395f2c6 Added missing plugins member in Phaser.Game class. 2015-01-24 14:29:56 +00:00
vulvulune
45f4f9a0d4 Update typescript definitions
-Remove Phaser.DOMSprite
-Remove Phaser.Anim.currentAnim
-Correct RevoluteContraint => RevoluteConStraint
-Transform StateCycle as an interface called IStateCycle
2015-01-22 13:28:31 +01:00
vulvulune
0c8b5f447f Improve d.ts comments generation
Add trimright in the comments, because there are a lot of comments with
useless whitespaces.
2015-01-21 12:05:35 +01:00
vulvulune
6c7da59565 Improve d.ts comments generation
Remove empty @returns.
2015-01-21 11:54:16 +01:00
vulvulune
af1345c39e Improve d.ts comments generation
-Improve the script to clean the different kinds of end of line
-Improve the alignement with @return multiline comments
-Add a jsdoc plugin to convert the class name of p2.js file, like this
the comments for the p2 classes are now included in the d.ts files.
2015-01-21 11:42:56 +01:00
vulvulune
a5fde63486 Improve d.ts comments generation
- Remove " - " after @param paramname, and @return because it is
useless.
- Improve alignement of multiline param comments.
2015-01-21 08:50:14 +01:00
vulvulune
df6b946ceb Add grunt task to generate d.ts with comments
Add "tsdocs" grunt task to generate d.ts files with comments.
2015-01-20 17:18:56 +01:00
Daniel Belohlavek
1b73315760 Removed parameter 'parent' from PluginManager class in phaser.d.ts
Removed parameter 'parent' from PluginManager class in phaser.d.ts since such parameter is not specified in the Phaser documentation: http://docs.phaser.io/Phaser.PluginManager.html
2015-01-17 15:42:25 -03:00
Daniel Belohlavek
ddcb2b8843 Added missing moveCallback property to phaser.d.ts
Added missing *moveCallback* property as seen on the docs: http://docs.phaser.io/Phaser.Input.html#moveCallback
2015-01-16 16:06:01 -03:00
Richard Davey
6fb816a54c Merge pull request #1527 from clark-stevenson/patch-3
Update pixi.d.ts
2015-01-16 17:54:24 +00:00
Richard Davey
a79f11b262 Merge pull request #1536 from belohlavek/master
Fixed wheelDelta type on Typescript definition file
2015-01-16 17:53:24 +00:00
Clark Stevenson
43537b47e9 Removed any from Game constructor
Fixes #1537
2015-01-12 23:58:47 +00:00
Daniel Belohlavek
114288b9f6 Fixed wheelDelta type on Typescript definition file
Changed type *WheelEventProxy* to *number* for property *wheelDelta* in *phaser.d.ts* as specified in the Phaser Documentation: http://docs.phaser.io/Phaser.Mouse.html#wheelDelta
2015-01-12 14:46:55 -03:00
Clark Stevenson
8ed62d740d Update pixi.d.ts
Thanks to @ivw
2015-01-10 02:51:16 +00:00
Tim van den Eijnden
9a4779ac6e updated typescript definitions 2015-01-07 15:08:00 +01:00
photonstorm
9feea685ab Updated defs for drawGroup. 2015-01-05 14:34:06 +00:00
Richard Davey
481ca7e222 Merge pull request #1516 from clark-stevenson/patch-2
Update phaser.d.ts
2015-01-05 11:02:50 +00:00
photonstorm
1c9306f41f Added the new Line methods/props to the TypeScript defs. 2015-01-05 11:02:25 +00:00
Clark Stevenson
a511379e06 Update phaser.d.ts
A BitmapData alphaMask has an optional mask parameter.
2015-01-05 10:25:06 +00:00
Richard Davey
c48eb706fb Merge pull request #1507 from Schmavery/master
Fix small typescript definition issue with Emitter.setAlpha()
2015-01-03 00:30:44 +00:00
Avery Morin
dac4372072 Fix small typescript issue with Emitter.setAlpha() 2015-01-02 18:12:50 -05:00
Clark Stevenson
428dae564f Fixes #1497 and Minor Updates. 2015-01-02 18:22:11 +00:00
Clark Stevenson
dfc44c5286 Micro Update
BitmapData methods should take a number as a blendMode not a string..  GameObjectFactory and GameObjectCreator image methods parameter key is optional.
2014-12-19 16:01:46 +00:00
Clark Stevenson
ba71f3400e Removed static from properties #1435 2014-12-09 11:02:46 +00:00
Clark Stevenson
ce8a7c544a Fixed TypeScript: Device class definition #1435 2014-12-09 10:30:09 +00:00
Clark Stevenson
c43f26cfc7 Minor Updates 2014-12-02 14:11:43 +00:00
Clark Stevenson
cff41566e0 2.2.0 2014-12-02 13:31:07 +00:00
photonstorm
35e2893db4 Game.lockRender is a new property. If false Phaser will automatically render the display list every update. If true the render loop will be skipped. You can toggle this value at run-time to gain exact control over when Phaser renders. This can be useful in certain types of game or application. Please note that if you don't render the display list then none of the game object transforms will be updated, so use this value carefully. 2014-12-02 09:03:55 +00:00
photonstorm
1ca260562a Small TS defs update. 2014-12-02 09:03:55 +00:00
photonstorm
0744dddbc0 Small defs fix. 2014-11-29 19:40:50 +00:00
Clark Stevenson
977f576c11 Small Updates 2014-11-27 16:01:02 +00:00
Clark Stevenson
e0270fdbb9 Fixed #1368 2014-11-25 17:30:33 +00:00
Clark Stevenson
3c860a4ad5 Definition Updates 2014-11-24 15:53:47 +00:00