Commit graph

314 commits

Author SHA1 Message Date
Richard Davey
08b4597b72 Improved JSDocs 2020-09-15 10:37:19 +01:00
Richard Davey
99c12540f7 Utils.Array.Matrix.Translate is a new function that will translate an Array Matrix by horizontally and vertically by the given amounts. 2020-09-15 10:35:53 +01:00
Richard Davey
b8d35d7cf0 Utils.Array.NumerArray can now accept the start and end parameters in reverse order, i.e. 10, 1 will generate a number array running from 10 to 1. Internally it has also been optimized to skip string based returns. 2020-09-08 13:02:16 +01:00
Richard Davey
28c6635ea3 Utils.Array.SortByDigits is a new function that takes the given array of strings and runs a numeric sort on it, ignoring any non-digits. 2020-09-03 15:01:55 +01:00
Richard Davey
27fd496e8f Updated to stablesort 0.1.8 and recoded to fit our style. Removed inplace static function. 2020-09-02 12:21:36 +01:00
Richard Davey
07865a5823 Final set of namespace changes. Fix #5062 2020-09-01 20:28:42 +01:00
Richard Davey
4ac240f280 Added String.RemoveAt 2020-08-02 23:52:45 +01:00
J.C
d8dc7fb4d7 TS def improvements 2020-03-02 20:14:25 +08:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Valentin Vetter
f3350ce5a8 TypeScript: improve pick/shuffle types 2019-12-01 22:36:47 +01:00
Richard Davey
a5d494f9d2 JSDoc fix. Fix #4871 2019-11-20 13:02:56 +00:00
Richard Davey
5f13fe8c7c Updated docs 2019-07-08 13:03:25 +01:00
Richard Davey
0f592ba91a Moved the Pick function to the object utils 2019-06-12 12:35:03 +01:00
Richard Davey
b1e3ee4eec Added base64 to ArrayBuffer and ArrayBuffer to base64 2019-06-11 14:14:31 +01:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
a6341a97a8 Fixed Types references 2019-05-09 15:32:53 +01:00
Valentin Vetter
f33a9d730f TypeScript: Fix matrix types 2019-05-08 19:17:52 +02:00
Richard Davey
4c95d69711 Added new SetValue function for property setting to any depth 2019-05-01 12:28:21 +01:00
Richard Davey
6ba3f49b08
Merge pull request #4442 from LoolzRules/master
issue #4411 fix
2019-04-05 18:28:39 +01:00
LoolzRules
842ed1a995 issue #4411 fix 2019-03-25 03:31:16 +06:00
Richard Davey
dfb1e48f6f
Merge pull request #4380 from englercj/master
Correct jsdoc for Class utilities
2019-02-24 23:07:10 +00:00
Richard Davey
84c24862cf GetAdvancedValue now uses the correct Math RND reference, which means anything that used the randInt or randFloat features of this function, such as creating a Sprite from a Config object, or Bitmap Text sizing, will no longer throw an error about a null object reference. Fix #4369 2019-02-24 22:56:29 +00:00
Chad Engler
5fbef0b1cb Correct jsdoc for Class utilities 2019-02-18 16:47:44 -08:00
Richard Davey
c85497b6c5 Fixing jsdocs 2019-02-12 11:59:31 +00:00
Richard Davey
348306cafb Lots more jsdoc fixes and new documentation 2019-01-31 14:47:50 +00:00
Richard Davey
b7f99496dc Updated function name 2019-01-31 11:27:26 +00:00
Richard Davey
404c94ac27 Fixed namespace name 2019-01-31 11:27:15 +00:00
Kyra
f83f63f318
fix: GetValue not checking for the existence of '.' correctly
indexOf returns -1 when the passed string is not found, which is truthy.
2019-01-26 16:52:25 +01:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +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
J.C
110819e82c add docs for StableSort & StableSort.inplace 2018-12-17 16:11:51 +08:00
Richard Davey
146745057a Utils.Array.MoveUp wouldn't let you move an array element to the top-most index in the array. This also impacted Container.moveUp. 2018-11-29 23:33:54 +00:00
Richard Davey
eea1b34549 Added jsdocs 2018-10-19 15:53:04 +01:00
Richard Davey
60dc63fe9f Added jsdocs 2018-10-19 15:33:43 +01:00
Richard Davey
809e3f4bbc Added jsdocs 2018-10-19 15:02:27 +01:00
Richard Davey
9e6298ba0f Array.Matrix.ReverseColumns was actually reversing the rows, but now reverses the columns. 2018-10-19 15:02:21 +01:00
Richard Davey
874d7350cd Array.Matrix.ReverseRows was actually reversing the columns, but now reverses the rows. 2018-10-19 15:02:08 +01:00
Richard Davey
4c4421c47f Docjam merge 2018-10-19 12:32:43 +01:00
Richard Davey
e297b3272e Added hundreds of new jsdoc descriptions 2018-10-01 11:35:01 +01:00
Richard Davey
b687f051e9 Added new jsdocs 2018-09-28 15:00:55 +01:00
Richard Davey
4deb8e49ad eslint fixes 2018-08-03 19:37:42 +01:00
Richard Davey
8c842f67de Phaser.Utils.String.UUID will return an RFC4122 complaint UUID as a string. This is used internally to avoid cache key conflicts, but is exposed for your own use as well. 2018-08-03 18:47:27 +01:00
Richard Davey
72dbfcd9f4 jsdoc path fix 2018-07-28 21:37:51 +01:00
Richard Davey
da2b91b460 ArrayUtils.AddAt didn't calculate the array offset correctly if you passed an array in to be merged with an existing array. This also caused Container.addAt to fail if an array was passed to it. Fix #3788 2018-06-27 11:31:51 +01:00
samme
703f338348 args description 2018-06-26 15:58:51 -07:00
samme
bb29f0cdfc Fix context argument wrongly passed to callback 2018-06-26 15:57:49 -07:00
Chris Andrew
978f982c26 Documented the remaining ParticleEmitter Zone classes. 2018-06-21 14:12:47 +01:00
Richard Davey
bdf9f5ce60 Utils.Array.BringToTop failed to move the penultimate item in an array due to an index error. Fix #3658 2018-05-15 08:45:39 +01:00
Richard Davey
65c54f4b8d Array.AddAt would fail if it branched to the fast-path within a Container due to an invalid property. Fix #3617 2018-04-26 15:44:56 +01:00
Richard Davey
68d2526d69 Limit fix 2018-04-11 17:12:40 +01:00