Commit graph

90 commits

Author SHA1 Message Date
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
orblazer
ae0b3b841b Fix types on GameObjects 2018-03-27 14:52:58 +02:00
Richard Davey
1f44366bc7 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-27 01:09:34 +01:00
Richard Davey
933e193ccf Group.destroy has a new optional argument destroyChildren which will automatically call destroy on all children of a Group if set to true (the default is false, hence it doesn't change the public API). Fix #3246 2018-03-27 01:09:30 +01:00
orblazer
f42f1bf132 Change structs for generic types 2018-03-23 16:54:12 +01:00
orblazer
439df07fd5 Fix "object" type on GameObjects and Input 2018-03-21 12:19:31 +01:00
orblazer
87633fdfad Fix multiple types on GameObjects 2018-03-20 15:56:31 +01:00
orblazer
4cff464555 Fix nullable types 2018-03-20 15:36:03 +01:00
Richard Davey
b6f2c80ae6 Groups will now listen for a destroy event from any Game Object added to them, and if received will automatically remove that GameObject from the Group. Fix #3418 2018-03-20 01:08:45 +00:00
samme
731b006ec3 Add active to Group create methods
- Adds `active=true` argument to Group#create
- Adds `active=true` config value to Group#createMultiple etc.
2018-03-14 12:22:08 -07:00
iamchristopher
1d402a732e Fixed Group doesn't remove children from Scene when cleared 2018-03-05 19:04:01 -05:00
Richard Davey
8bce7ea7c9 Added jsdocs. 2018-02-12 17:21:06 +00: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
36229eee79 Added jsdocs 2018-02-06 01:08:43 +00:00
Richard Davey
f9a7939812 Lots of work migrating to the new plugin system, fixing references and exposing on the namespace 2018-01-16 22:28:29 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00