brick-engine-js 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +46 -126
- package/dist/app.js.map +1 -1
- package/dist/brick-engine.js +45 -126
- package/dist/brick-engine.js.map +1 -1
- package/dist/docs/GAME_DEVELOPER_GUIDE.html +1 -1
- package/dist/docs/brick-engine-guide.html +1 -1
- package/dist/docs/getting-started.html +1 -1
- package/dist/docs/jsdoc_standard.html +1 -1
- package/dist/docs/publishing.html +1 -1
- package/dist/docs/reference/interfaces/modules/Session.html +1 -1
- package/dist/docs/reference/modules/GameMenu.html +1 -1
- package/dist/docs/reference/modules/GameSession.html +1 -1
- package/dist/docs/reference/modules/InitialStateSnapshot.html +1 -1
- package/dist/docs/reference/modules/SessionModal.html +1 -1
- package/dist/docs/testing_best_practices.html +1 -1
- package/package.json +1 -1
- package/public/docs/GAME_DEVELOPER_GUIDE.html +1 -1
- package/public/docs/brick-engine-guide.html +1 -1
- package/public/docs/getting-started.html +1 -1
- package/public/docs/jsdoc_standard.html +1 -1
- package/public/docs/publishing.html +1 -1
- package/public/docs/reference/interfaces/modules/Session.html +1 -1
- package/public/docs/reference/modules/GameMenu.html +1 -1
- package/public/docs/reference/modules/GameSession.html +1 -1
- package/public/docs/reference/modules/InitialStateSnapshot.html +1 -1
- package/public/docs/reference/modules/SessionModal.html +1 -1
- package/public/docs/testing_best_practices.html +1 -1
package/dist/brick-engine.js
CHANGED
|
@@ -9,132 +9,12 @@
|
|
|
9
9
|
root["BrickEngine"] = factory(root["p5"]);
|
|
10
10
|
})(self, (__WEBPACK_EXTERNAL_MODULE__991__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
12
13
|
/******/ var __webpack_modules__ = ({
|
|
13
14
|
|
|
14
|
-
/***/ 902
|
|
15
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
16
|
-
|
|
17
|
-
"use strict";
|
|
18
|
-
__webpack_require__.r(__webpack_exports__);
|
|
19
|
-
// extracted by mini-css-extract-plugin
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
/***/ },
|
|
23
|
-
|
|
24
|
-
/***/ 35
|
|
25
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
26
|
-
|
|
27
|
-
"use strict";
|
|
28
|
-
__webpack_require__.r(__webpack_exports__);
|
|
29
|
-
// extracted by mini-css-extract-plugin
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/***/ },
|
|
33
|
-
|
|
34
|
-
/***/ 287
|
|
35
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36
|
-
|
|
37
|
-
"use strict";
|
|
38
|
-
__webpack_require__.r(__webpack_exports__);
|
|
39
|
-
// extracted by mini-css-extract-plugin
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/***/ },
|
|
43
|
-
|
|
44
|
-
/***/ 949
|
|
45
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
46
|
-
|
|
47
|
-
"use strict";
|
|
48
|
-
__webpack_require__.r(__webpack_exports__);
|
|
49
|
-
// extracted by mini-css-extract-plugin
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/***/ },
|
|
53
|
-
|
|
54
|
-
/***/ 545
|
|
55
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
56
|
-
|
|
57
|
-
"use strict";
|
|
58
|
-
__webpack_require__.r(__webpack_exports__);
|
|
59
|
-
// extracted by mini-css-extract-plugin
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
/***/ },
|
|
63
|
-
|
|
64
|
-
/***/ 623
|
|
65
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
66
|
-
|
|
67
|
-
"use strict";
|
|
68
|
-
__webpack_require__.r(__webpack_exports__);
|
|
69
|
-
// extracted by mini-css-extract-plugin
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
/***/ },
|
|
73
|
-
|
|
74
|
-
/***/ 839
|
|
75
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
76
|
-
|
|
77
|
-
"use strict";
|
|
78
|
-
__webpack_require__.r(__webpack_exports__);
|
|
79
|
-
// extracted by mini-css-extract-plugin
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/***/ },
|
|
83
|
-
|
|
84
|
-
/***/ 881
|
|
85
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
86
|
-
|
|
87
|
-
var map = {
|
|
88
|
-
"./body.css": 902,
|
|
89
|
-
"./buttons.css": 35,
|
|
90
|
-
"./debugger.css": 287,
|
|
91
|
-
"./sessionModal.css": 949,
|
|
92
|
-
"./sourceCodeAndCommands.css": 545,
|
|
93
|
-
"./splash.css": 623,
|
|
94
|
-
"./theme.css": 839
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
function webpackContext(req) {
|
|
99
|
-
var id = webpackContextResolve(req);
|
|
100
|
-
return __webpack_require__(id);
|
|
101
|
-
}
|
|
102
|
-
function webpackContextResolve(req) {
|
|
103
|
-
if(!__webpack_require__.o(map, req)) {
|
|
104
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
105
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
106
|
-
throw e;
|
|
107
|
-
}
|
|
108
|
-
return map[req];
|
|
109
|
-
}
|
|
110
|
-
webpackContext.keys = function webpackContextKeys() {
|
|
111
|
-
return Object.keys(map);
|
|
112
|
-
};
|
|
113
|
-
webpackContext.resolve = webpackContextResolve;
|
|
114
|
-
module.exports = webpackContext;
|
|
115
|
-
webpackContext.id = 881;
|
|
116
|
-
|
|
117
|
-
/***/ },
|
|
118
|
-
|
|
119
|
-
/***/ 589
|
|
120
|
-
(module) {
|
|
121
|
-
|
|
122
|
-
function webpackEmptyContext(req) {
|
|
123
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
124
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
125
|
-
throw e;
|
|
126
|
-
}
|
|
127
|
-
webpackEmptyContext.keys = () => ([]);
|
|
128
|
-
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
129
|
-
webpackEmptyContext.id = 589;
|
|
130
|
-
module.exports = webpackEmptyContext;
|
|
131
|
-
|
|
132
|
-
/***/ },
|
|
133
|
-
|
|
134
15
|
/***/ 991
|
|
135
16
|
(module) {
|
|
136
17
|
|
|
137
|
-
"use strict";
|
|
138
18
|
module.exports = __WEBPACK_EXTERNAL_MODULE__991__;
|
|
139
19
|
|
|
140
20
|
/***/ }
|
|
@@ -208,9 +88,50 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__991__;
|
|
|
208
88
|
/******/
|
|
209
89
|
/************************************************************************/
|
|
210
90
|
var __webpack_exports__ = {};
|
|
211
|
-
// This entry needs to be wrapped in an IIFE because it needs to be
|
|
91
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
92
|
+
(() => {
|
|
93
|
+
// extracted by mini-css-extract-plugin
|
|
94
|
+
|
|
95
|
+
})();
|
|
96
|
+
|
|
97
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
98
|
+
(() => {
|
|
99
|
+
// extracted by mini-css-extract-plugin
|
|
100
|
+
|
|
101
|
+
})();
|
|
102
|
+
|
|
103
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
104
|
+
(() => {
|
|
105
|
+
// extracted by mini-css-extract-plugin
|
|
106
|
+
|
|
107
|
+
})();
|
|
108
|
+
|
|
109
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
110
|
+
(() => {
|
|
111
|
+
// extracted by mini-css-extract-plugin
|
|
112
|
+
|
|
113
|
+
})();
|
|
114
|
+
|
|
115
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
116
|
+
(() => {
|
|
117
|
+
// extracted by mini-css-extract-plugin
|
|
118
|
+
|
|
119
|
+
})();
|
|
120
|
+
|
|
121
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
122
|
+
(() => {
|
|
123
|
+
// extracted by mini-css-extract-plugin
|
|
124
|
+
|
|
125
|
+
})();
|
|
126
|
+
|
|
127
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
128
|
+
(() => {
|
|
129
|
+
// extracted by mini-css-extract-plugin
|
|
130
|
+
|
|
131
|
+
})();
|
|
132
|
+
|
|
133
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
212
134
|
(() => {
|
|
213
|
-
"use strict";
|
|
214
135
|
// ESM COMPAT FLAG
|
|
215
136
|
__webpack_require__.r(__webpack_exports__);
|
|
216
137
|
|
|
@@ -5004,9 +4925,7 @@ var _switchHandler = function (newGame) {
|
|
|
5004
4925
|
* @returns {p5} The p5 instance.
|
|
5005
4926
|
*/
|
|
5006
4927
|
function bootstrap(ClientGame) {
|
|
5007
|
-
|
|
5008
|
-
__webpack_require__(881);
|
|
5009
|
-
}
|
|
4928
|
+
window.BrickEngineGame = ClientGame;
|
|
5010
4929
|
return new (external_p5_default())(function (p) {
|
|
5011
4930
|
_p = p;
|
|
5012
4931
|
var view = new view_GameView(p, document.body);
|