Commit graph

19 commits

Author SHA1 Message Date
Richard Davey
c0ac1259ea Significant Data Manager overhaul.
Adds in values property, removes redundant functions, streamlines the event flow, adds features to the get and set handlers.
2018-06-05 01:01:13 +01:00
Richard Davey
e3aa437340 DataManagerPlugin would throw an error on Game.destroy if you had any Scenes in the Scene Manager had not been run. Fix #3596 2018-04-20 13:34:45 +01:00
Richard Davey
205502a747 Prevent double-destroy from happening. Fix #3569 (however, Game.destroy now fails elsewhere) 2018-04-14 17:39:24 +01:00
Chris Andrew
7eb0342663 Documented the SceneManager. 2018-04-02 18:01:17 +01:00
Chris Andrew
381784d58f Documented the DataManager class. 2018-04-02 16:32:21 +01:00
Richard Davey
91008232ad jsdoc fixes 2018-03-29 13:12:07 +01:00
Richard Davey
06998276ec Removed stict mode warning 2018-03-28 16:00:19 +01:00
orblazer
b1d83188ef Add generic type and fix types on Data and Display 2018-03-27 14:19:42 +02:00
orblazer
7fba122321 Fix "any" types 2018-03-20 17:15:49 +01:00
orblazer
1e8311e1ab Add callbacks on Dom and Data 2018-03-19 22:43:48 +01:00
orblazer
bf630f7d57 Fix types in JSDocs 2018-03-19 19:49:14 +01:00
orblazer
6a4fda392c Fix Object type in DataManager 2018-03-19 19:03:00 +01:00
orblazer
e2ab82c7b1 Fix types on Data 2018-03-19 16:37:01 +01:00
Hua
f16cf72826 Fix bug
Copy value of key, instead of the reference of data object
2018-03-16 16:57:25 +08:00
Richard Davey
965f2b0e74 Fixed jsdocs and general tidying up. 2018-02-13 00:41:01 +00:00
Richard Davey
14c5aad929 Added jsdocs 2018-02-12 22:16:18 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
a802914243 Added in destroy methods for all managers and invoked them from Game 2018-01-31 03:38:10 +00:00
Richard Davey
4ec30b8db8 Recoded the Data component
Added is back in as DataManager, which Game Objects can have an instance of. Plus exposed as DataManagerPlugin available to Scenes. Removed callback based system and implemented events and fixed the destroy method.
2018-01-30 00:55:27 +00:00
Renamed from src/data/Data.js (Browse further)