Commit graph

40 commits

Author SHA1 Message Date
Richard Davey
450c8fcae0 Removed generics that were breaking Layer in TypeScript 2023-11-10 15:27:07 +00:00
Richard Davey
468bf7821d Updated copyright year 2023-01-02 17:36:27 +00:00
Richard Davey
d48f548472 TS defs update. Fix #5665 2022-11-17 18:40:24 +00:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Richard Davey
83fbeb97a8 Fixed jsdoc 2021-05-24 17:34:06 +01:00
Rex
62ea171971 Add MoveAbove, MoveBelow methods of List structure
MoveAbove: Moves the given array element above another one in the array.
MoveBelow: Moves the given array element below another one in the array.
2021-04-26 15:17:42 +08:00
Richard Davey
02c34cd64e Replace integer with number 2020-11-23 10:22:13 +00:00
Richard Davey
8f8a90bedd Utils.Array.StableSort has been recoded. It's now based on Two-Screens stable sort 0.1.8 and has been updated to fit into Phaser better and no longer create any window bound objects. The inplace function has been removed, just call StableSort(array) directly now. All classes that used StableSort.inplace have been updated to call it directly. 2020-09-02 12:24:27 +01:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
fac2efedc4 Container + List.sort scope fixed and custom handler option added. Fix #4241 2019-01-24 11:04:36 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
J.C
580cc36ad4
Merge branch 'master' into Branch_v3.15.1 2018-12-20 12:42:25 +08:00
J.C
136a8355d8 doc improvement:
1, provide type for callback argument
2, remove comment for $type to avoid jsdoc warning: "The @type tag does not permit a description;"
2018-12-20 12:15:49 +08:00
J.C
c8fc944d94 the parameter is actually the value you are seeking but not T type.
bug fix: GetFirstElement -> GetFirst, as ArrayUtils does not have GetFirstElement method.
2018-12-20 11:09:30 +08:00
Richard Davey
74a84a8242
Merge pull request #4247 from jcyuan/Branch_v3.15.1
docs improvement for 3.5.1 release
2018-12-19 10:21:05 +00:00
Richard Davey
7ee0a717f5 Container.getFirst was using an incorrect Array Utils function GetFirstElement, when it should have been using GetFirst. It now uses the correct function. Fix #4244 2018-12-18 12:12:47 +00:00
J.C
d860725d57 first / last / next / prev should specify the return type as T 2018-12-17 10:56:41 +08:00
Richard Davey
eea1b34549 Added jsdocs 2018-10-19 15:53:04 +01:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
a9063604dc Replace @readOnly with @readonly 2018-10-09 13:40:00 +01:00
Richard Davey
e297b3272e Added hundreds of new jsdoc descriptions 2018-10-01 11:35:01 +01:00
Richard Davey
99ba77c29d Added jsdocs. 2018-09-28 12:45:01 +01:00
Richard Davey
15b544fc46 jsdoc fixes 2018-06-13 08:37:40 +01:00
Richard Davey
6b2307594a Scene plugin flow overhaul
Every Plugin has been updated to correctly follow the same flow through the Scene lifecycle. Instead of listening for the Scene 'boot' event, which is only dispatched once (when the Scene is first created), they will now listen for the Scene 'start' event, which occurs every time the Scene is started. All plugins now consistently follow the same Shutdown and Destroy patterns too, meaning they tidy-up after themselves on a shutdown, not just a destroy. Overall, this change means that there should be less issues when returning to previously closed Scenes, as the plugins will restart themselves properly.
2018-04-13 17:12:17 +01:00
Richard Davey
330eac1ebc List is now internally using all of the new Utils.Array functions. 2018-04-10 04:00:39 +01:00
Richard Davey
ae8706a424 Added missing callback 2018-04-05 15:28:22 +01:00
Richard Davey
a44fcb6ad6 Added addCallback, removeCallback and skipCallback arguments 2018-04-05 13:51:57 +01:00
Antriel
630732f9fc jsdoc generics fix 2018-03-30 14:43:58 +02:00
orblazer
e10a10b3b1 Fix usage of @genericUse 2018-03-29 12:58:18 +02:00
Richard Davey
06998276ec Removed stict mode warning 2018-03-28 16:00:19 +01:00
orblazer
d0e1320cbe Add generic types and fix types on Input and Structs 2018-03-27 15:59:49 +02:00
orblazer
f42f1bf132 Change structs for generic types 2018-03-23 16:54:12 +01:00
orblazer
7fba122321 Fix "any" types 2018-03-20 17:15:49 +01:00
orblazer
fa13b597e3 Add more callbacks 2018-03-19 23:08:05 +01:00
orblazer
6b5dc62ad1 Update JSDoc on Structs 2018-03-19 02:00:21 +01:00
Richard Davey
b6b8f70550 DisplayList now just extends List and removed the Plugin, as it acts as its own plugin now. 2018-02-12 16:59:57 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
ff1a26c7a3 Added jsdocs 2018-02-09 04:35:23 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Renamed from v3/src/structs/List.js (Browse further)