Richard Davey
d48f548472
TS defs update. Fix #5665
2022-11-17 18:40:24 +00:00
Richard Davey
c5e10cd3f1
Fix #6052
2022-11-10 22:14:18 +00:00
Richard Davey
10ff7a3712
Improved jsdocs
2022-10-19 21:14:31 +01:00
Richard Davey
023343c789
All events have a type of string. Fix #6136
2022-09-21 22:01:03 +01:00
Richard Davey
186fe4a04b
Game Objects that were created and destroyed (or moved to Containers) in the same frame were not correctly removed from the UpdateList. Fix #5803 #5817 #5818 #6052
...
* `ProcessQueue.isActive` is a new method that tests if the given object is in the active list, or not.
* `ProcessQueue.isPending` is a new method that tests if the given object is in the pending insertion list, or not.
* `ProcessQueue.isDestroying` is a new method that tests if the given object is pending destruction, or not.
* `ProcessQueue.add` will no longer place the item into the pending list if it's already active or pending.
* `ProcessQueue.remove` will check if the item is in the pending list, and simply remove it, rather than destroying it.
2022-06-07 16:43:56 +01: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
ef1ddb29d9
Improved docs
2020-10-27 13:55:09 +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
07865a5823
Final set of namespace changes. Fix #5062
2020-09-01 20:28:42 +01:00
Richard Davey
7f5e4d4538
ProcessQueue.checkQueue
is a new boolean property that will make sure only unique objects are added to the Process Queue.
2020-08-24 19:21:01 +01:00
halilcakar
6915fd3420
Fix incorrect event names in ProcessQueue.js#205, 222
2020-08-09 19:55:09 +03:00
Richard Davey
ff65e69cd1
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
Josh Soref
d6820e6da8
spelling: envelope
2019-10-29 01:53:22 -04:00
Josh Soref
4d1683c9ee
spelling: component
2019-10-29 01:49:23 -04:00
Richard Davey
7212945bea
ProcessQueue now extends Event Emitter. Also added removeAll method and length getter.
2019-10-02 12:13:07 +01:00
Richard Davey
f3cc1f82fe
Added new ProcessQueue events
2019-10-02 12:12:37 +01:00
Richard Davey
67e28efd2e
Removed dead code
2019-08-30 03:47:58 +01:00
Richard Davey
c91ed91ce3
License link update
2019-05-10 16:15:04 +01:00
Richard Davey
1830480fec
Added Size.setCSS method
2019-04-09 23:28:05 +01:00
Richard Davey
39e18a5b41
Updated docs
2019-03-07 13:36:01 +00:00
Richard Davey
b75db77db8
Updated docs
2019-03-05 09:25:19 +00:00
Richard Davey
57970f1149
Added Size.resize and Size.setAspectRatio methods.
2019-01-25 12:13:26 +00: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
ebb926bdaf
Added copy method.
2019-01-22 14:45:54 +00:00
Richard Davey
1eccff1e3b
Fixed jsdoc links and markdown bullet lists
2019-01-18 15:20:56 +00:00
Richard Davey
aa341854c7
Happy New Year
2019-01-15 16:20:22 +00:00
Richard Davey
58c8ae8202
JSDoc update
2019-01-12 12:44:29 +00:00
Richard Davey
aa3b80371b
Should be envelop, not envelope :)
2019-01-12 12:36:21 +00:00
Richard Davey
ed6e3f596f
Fixed min size clamp.
2019-01-11 18:05:43 +00:00
Richard Davey
f9f162f499
Default is now zero again.
2019-01-09 17:13:43 +00:00
Richard Davey
80b14368c1
Refactored how snap is applied and consolidated the fit and envelope methods into one.
2019-01-09 14:19:17 +00:00
Richard Davey
e7fcc0bb1a
Finished the Size component and JSDocs.
2019-01-09 00:16:36 +00:00
Richard Davey
92396ba9d8
Finalizing the Size component
2019-01-08 23:07:54 +00:00
Richard Davey
ad0e2a6435
Refactoring the Size component
2019-01-08 17:23:20 +00:00
Richard Davey
874929d807
Merge pull request #4250 from jcyuan/Branch_v3.15.1
...
doc improvement & minor bug fix
2019-01-04 13:15:20 +00:00
Omar Shehata
9abb11cba5
Remove unecessary type description
2018-12-26 10:51:01 -05:00
Richard Davey
cc280d8950
Removed dead code
2018-12-21 02:47:10 +00:00
Richard Davey
ef0b18f88b
If a Map entry exists, it is updated with the new value, rather than skipped.
2018-12-20 12:12:49 +00:00
Richard Davey
52519a1932
Updated docs and added envelope method.
2018-12-20 12:12:31 +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
f5fcea898c
Updated Size component to handle fitting, ratios, locking and more.
2018-12-19 17:07:46 +00:00
Richard Davey
c6f72241e3
Added Size component.
2018-12-19 12:16:13 +00: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