Commit graph

20 commits

Author SHA1 Message Date
Richard Davey
468bf7821d Updated copyright year 2023-01-02 17:36:27 +00:00
Richard Davey
a4d8e87095 Fixed lint errors 2022-05-10 17:06:53 +01:00
Richard Davey
919fa39faa
Merge pull request #6067 from TJ09/commonjs-import-change
Don't reassign the return values from require()
2022-05-09 16:49:58 +01:00
Richard Davey
d7074c4e0a Fixed jsdocs 2022-05-06 15:36:53 +01:00
T.J. L
ff4ef2872b Don't overwrite the return values from require() 2022-04-02 01:49:19 -07:00
Rex
24cbfa22bb Add parameter description 2022-03-12 09:48:48 +08:00
Rex
2d1d64047c Destroy game objects safely 2022-03-12 09:43:33 +08:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Richard Davey
93db763f69
Merge pull request #5340 from 16patsle/Fix_object_types
Add more specific 'object' types, including GO Configs
2021-09-23 15:30:43 +01:00
Richard Davey
519a7f99e1 Bumped version 2021-09-20 12:08:56 +01:00
samme
728db67a6d Add Layer#addToDisplayList(), Layer#removeFromDisplayList()
Fixes #5799
2021-08-01 14:04:51 -07:00
Richard Davey
425594cb8e Layer.addChildCallback and removeChildCallback will now use the new addToDisplayList and removeFromDisplayList Game Object methods. 2021-03-03 18:01:18 +00:00
Richard Davey
a19e4770df The Layer Game Object has been given all of the missing properties and methods from Game Object to make the class shapes identical. This includes the properties parentContainer, tabIndex, input and body. You cannot set any of these properties, they are ignored by the Layer itself. It also includes the methods: setInteractive, disableInteractive and removeInteractive. A Layer cannot be enabled for input or have a physics body. Fix #5459 2021-01-04 16:11:33 +00:00
Richard Davey
2a38e78bb4 Layer.destroy will now call destroy on all of its children as well. Layer.destroy will now emit the DESTROY event at the start of the method. Fix #5466 2021-01-04 11:59:00 +00:00
Patrick Sletvold
f1836738a0
Merge remote-tracking branch 'origin/master' into Fix_object_types 2020-12-10 11:23:35 +01:00
Richard Davey
a7f246a241 Swap queue order 2020-12-04 12:55:26 +00:00
Richard Davey
6dd40df318 Update LayerCreator.js 2020-11-27 15:14:10 +00:00
Richard Davey
3ec63c6dec Only remove from displayList if set. Fix #5413 2020-11-27 15:14:04 +00:00
Richard Davey
e96cbde8d6 Added new displayList property and Layer documentation 2020-11-27 11:13:59 +00:00
Richard Davey
aa06070644 Added the new Layer Game Object 2020-11-26 16:21:21 +00:00