Commit graph

34 commits

Author SHA1 Message Date
Richard Davey
1f8276ac76 Updated copyright year, company and author 2024-02-19 17:12:24 +00:00
Richard Davey
a2f47d65c1 Modified RandomDataGenerator.weightedPick method to avoid sampling past the last element. Fix #6701 2024-01-31 21:33:47 +00:00
Richard Davey
f844e966bc The RandomDataGenerator#weightedPick method will no longer under-sample the first and last elements in the given array, leading to better distribution of results. Fix #6562 2023-11-08 16:44:27 +00:00
Richard Davey
468bf7821d Updated copyright year 2023-01-02 17:36:27 +00:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00: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
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
dbdfb0e95c RandomDataGenerator.shuffle has been fixed to use the proper modifier in the calculation, allowing for a more even distribution 2018-11-21 11:23:48 +00:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
3cc17f5c97 The RandomDataGenerator will now create a default random seed if you instantiate your own version of the class (instead of using Phaser.Math.RND) and don't provide a seed for it 2018-08-21 14:06:41 +01:00
Richard Davey
7ccd469048 Updated the jsdocs. 2018-07-25 00:18:45 +01:00
Chris Andrew
5e374b29dc Elaborated fuzzy math function descriptions.
Finished up pow2 and RandomDataGenerator descriptions.
2018-05-24 12:06:44 +01:00
Richard Davey
182015bdbc
Merge pull request #3695 from wtravO/master
Fixed JSDoc error in RND.shuffle param
2018-05-23 15:30:42 +01:00
Travis O'Neal
87d1621bfc Fixed JSDoc error in shuffle param 2018-05-23 10:17:07 -04:00
Richard Davey
103e0c8727 Updated RandomDataGenerator.shuffle to remove several internal calls as min is always zero 2018-04-26 13:02:13 +01:00
Richard Davey
44314845f5
Merge pull request #3564 from wtravO/master
Added array shuffle method to RDG
2018-04-26 12:38:19 +01:00
Richard Davey
18585de81d Lots of jsdoc fixes 2018-04-16 14:43:24 +01:00
Travis O'Neal
620585a57c Added array shuffle method 2018-04-13 14:23:48 -04:00
orblazer
ed1f2a7011 Fix wrong types 2018-03-22 13:51:30 +01:00
orblazer
7fba122321 Fix "any" types 2018-03-20 17:15:49 +01:00
orblazer
7e05b333a0 Fix multiple types on Math 2018-03-20 16:06:30 +01:00
orblazer
679253f591 Update JSDoc on Math 2018-03-19 13:06:46 +01:00
samme
9234fd1d4f Fix property name conflict in Phaser.Math.RandomDataGenerator#sign
Fixes #3323
2018-03-04 22:09:29 -08:00
migiyubi
2f239de66a
Correct JSDoc 2018-03-02 19:35:01 +09:00
migiyubi
fc1181970b
Fix RandomDataGenerator's randomness 2018-03-01 19:57:16 +09:00
Richard Davey
3c65121cb3 eslint fixes 2018-02-16 19:17:49 +00:00
Richard Davey
86f00eeb52 eslint fixes 2018-02-16 18:17:51 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
40689d1e35 Updated jsdocs. 2018-02-07 15:27:21 +00:00
Richard Davey
203a0ee98c Added jsdocs 2018-01-31 17:48:30 +00:00
Richard Davey
3ba739756c Added jsdocs. 2018-01-26 06:19:27 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00