Commit graph

66 commits

Author SHA1 Message Date
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
08c4ab0e4c Added internalCreateCallback and internalRemoveCallback to a Group 2020-01-14 23:55:21 +00:00
Richard Davey
ce2dbb7095
Merge pull request #4873 from samme/feature/group-type
Add `type` for Group, Arcade.Group, Arcade.StaticGroup
2019-11-20 21:54:10 +00:00
samme
8585541e15 Add type for Group, PhysicsGroup, StaticPhysicsGroup 2019-11-20 11:53:38 -08:00
Richard Davey
3eafac9f4f lint fixes 2019-11-19 13:02:05 +00:00
Richard Davey
b95a6a45bd Fixed some JSDocs resulting from #4850 2019-11-19 11:23:19 +00:00
Richard Davey
4606f0b443
Merge pull request #4850 from rexrainbow/group-improvement
Add some action methods
2019-11-19 11:04:17 +00:00
Hua
f0c1d8f846 Add some action methods 2019-11-06 14:22:47 +08:00
Hua
53e9fd1465 Add SetScrollFactor into Action and Group's createFromConfig 2019-11-05 14:39:56 +08:00
Hua
7134a1ef7b Remove event hook of children when destroyChildren is false 2019-07-10 15:59:25 +08:00
Richard Davey
f792f13d7a Added new quantity property to GroupCreateConfig 2019-06-28 11:14:59 +01:00
Richard Davey
515adc737d Fixed typo 2019-06-05 22:48:22 +01:00
samme
04384f78a6 Add Group#name 2019-06-04 09:33:08 -07:00
samme
c3c11652ef Merge branch 'master' of https://github.com/photonstorm/phaser into types/group-classType 2019-05-28 09:16:27 -07:00
samme
84e476762a Docs description for GroupCreateConfig 2019-05-27 09:05:16 -07:00
samme
e879ec7703 Correct types for GroupCreateConfig.key, GroupCreateConfig.frame 2019-05-27 09:03:28 -07:00
samme
8e717d5588 Remove GroupClassTypeConstructor type 2019-05-23 15:10:40 -07:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
290389c4ae Input Types 2019-05-09 12:02:03 +01:00
Richard Davey
8e8b182359 Group Types 2019-05-09 11:56:16 +01:00
Richard Davey
2b073cba51 Actions Types 2019-05-09 11:44:01 +01:00
Richard Davey
18a924c39c Passing an _array_ of configuration objects to physics.add.group would ignore them and none of the children would be assigned a physics body. Fix #4511 2019-05-07 16:17:28 +01:00
Richard Davey
3bb73c5664 Fixed Group defs and completed Arcade Physics defs 2019-02-13 14:45:36 +00:00
Richard Davey
3938675d9f Input typedefs 2019-02-13 14:17:36 +00:00
Richard Davey
e7b1d086e7 Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
2019-02-13 12:35:12 +00:00
Richard Davey
36d86abd48 Added Camera Fade and Game Object Destroy events. 2019-01-18 14:21:45 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Bill Reed
df9365cae6 update type param for group factory and creator methods 2018-12-05 11:32:47 -05:00
samme
83e2de2baf Docs for Group
Add GroupClassTypeConstructor type
2018-11-07 09:40:31 -08:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
samme
adb2181a8a Add docs for groups and Arcade.Factory 2018-09-26 12:25:09 -07:00
hypertrifle
37da44f9c9
Updated @param notation that cause issues generating docs
there was a double pipe - now there isn't
2018-08-26 12:54:18 +01:00
Richard Davey
d50b72dd14 Fixed Group creation arguments 2018-08-01 18:01:36 +01:00
Richard Davey
9977497137 Fixed Group config / children detection 2018-08-01 15:19:56 +01:00
Richard Davey
9df7fbaa68 Adding an array of children to a Group would cause it to mistakenly think you were passing a config object. Fix #3854 2018-07-23 13:29:39 +01:00
Chris Andrew
6854ccb764 Cleaned up some remaining GameObject descriptions. 2018-06-21 14:18:28 +01:00
Richard Davey
6ab124c591
Merge pull request #3687 from thomastanck/thomastanck-typedefupdates
Update type definitions
2018-05-24 13:49:30 +01:00
Richard Davey
660887f338 Group.destroy now respects the ignoreDestroy property. 2018-05-22 15:59:10 +01:00
Thomas Tan
0fa334ff3e
Change Group.* return types from GameObject to any 2018-05-22 12:05:52 +08:00
Richard Davey
11cbf0cf8d Marked the children parameter as optional. Fix #3657 2018-05-10 23:32:46 +01:00
samme
66f1ff848e Fix no children created from GroupCreateConfig[] (multiple adds)
Fixes #3612
2018-04-23 18:14:36 -07:00
Richard Davey
349a95bc4b Updating to 3.6.0 2018-04-19 14:45:45 +01:00
Richard Davey
3d0be3e20c Group.remove and clear have optional destroyChild arguments 2018-04-19 14:13:46 +01:00
samme
1c0905a103 Fix incorrect active state selection 2018-04-18 08:44:10 -07:00
Richard Davey
d96382f94d Added getFirstNth and getLastNth 2018-04-18 13:28:57 +01:00
Richard Davey
5b4feedcaf Added Group.GetLast 2018-04-18 04:01:06 +01:00
samme
821fff02b5 Group fixes/changes:
- remove() rejects non-members
- createMultiple() stops creating objects if the Group becomes full
- isFull() returns true if the group size *exceeds* maxSize
- Group() calls createMultiple() only if config.key was passed
2018-04-15 10:38:50 -07:00
Richard Davey
a01535ea78 Group.add and Group.addMultiple now respect the Group.maxSize property, stopping you from over-populating a Group. 2018-04-13 17:59:29 +01:00
samme
470d2bc08a Add descriptions for Phaser.GameObjects.Group 2018-04-12 20:10:03 -07:00
Richard Davey
15c4334dc7 jsdoc fixes 2018-03-28 14:11:46 +01:00