brick-engine-js 1.0.5 → 1.0.7
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 -123
- package/dist/app.js.map +1 -1
- package/dist/bootstrap.d.ts +0 -1
- package/dist/brick-engine.js +65 -182
- 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/config/styles.d.ts +0 -0
- package/dist/index.test.d.ts +0 -1
package/dist/app.js
CHANGED
|
@@ -9,129 +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
|
-
/***/ 257
|
|
85
|
-
(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Dynamically load all CSS files from the public/style directory.
|
|
89
|
-
* This allows Webpack to bundle them without needing explicit imports for each file.
|
|
90
|
-
*/
|
|
91
|
-
__webpack_require__(881);
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
/***/ },
|
|
95
|
-
|
|
96
|
-
/***/ 881
|
|
97
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
98
|
-
|
|
99
|
-
var map = {
|
|
100
|
-
"./body.css": 902,
|
|
101
|
-
"./buttons.css": 35,
|
|
102
|
-
"./debugger.css": 287,
|
|
103
|
-
"./sessionModal.css": 949,
|
|
104
|
-
"./sourceCodeAndCommands.css": 545,
|
|
105
|
-
"./splash.css": 623,
|
|
106
|
-
"./theme.css": 839
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
function webpackContext(req) {
|
|
111
|
-
var id = webpackContextResolve(req);
|
|
112
|
-
return __webpack_require__(id);
|
|
113
|
-
}
|
|
114
|
-
function webpackContextResolve(req) {
|
|
115
|
-
if(!__webpack_require__.o(map, req)) {
|
|
116
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
117
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
118
|
-
throw e;
|
|
119
|
-
}
|
|
120
|
-
return map[req];
|
|
121
|
-
}
|
|
122
|
-
webpackContext.keys = function webpackContextKeys() {
|
|
123
|
-
return Object.keys(map);
|
|
124
|
-
};
|
|
125
|
-
webpackContext.resolve = webpackContextResolve;
|
|
126
|
-
module.exports = webpackContext;
|
|
127
|
-
webpackContext.id = 881;
|
|
128
|
-
|
|
129
|
-
/***/ },
|
|
130
|
-
|
|
131
15
|
/***/ 991
|
|
132
16
|
(module) {
|
|
133
17
|
|
|
134
|
-
"use strict";
|
|
135
18
|
module.exports = __WEBPACK_EXTERNAL_MODULE__991__;
|
|
136
19
|
|
|
137
20
|
/***/ }
|
|
@@ -205,9 +88,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__991__;
|
|
|
205
88
|
/******/
|
|
206
89
|
/************************************************************************/
|
|
207
90
|
var __webpack_exports__ = {};
|
|
208
|
-
// 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.
|
|
209
92
|
(() => {
|
|
210
|
-
"use strict";
|
|
211
93
|
|
|
212
94
|
// EXTERNAL MODULE: external "p5"
|
|
213
95
|
var external_p5_ = __webpack_require__(991);
|
|
@@ -4886,8 +4768,6 @@ var GameMenu = /** @class */ (function (_super) {
|
|
|
4886
4768
|
}(core_Game));
|
|
4887
4769
|
/* harmony default export */ const menu_GameMenu = (GameMenu);
|
|
4888
4770
|
|
|
4889
|
-
// EXTERNAL MODULE: ./src/config/styles.ts
|
|
4890
|
-
var styles = __webpack_require__(257);
|
|
4891
4771
|
;// ./src/menu/GameMenuSingleton.ts
|
|
4892
4772
|
/**
|
|
4893
4773
|
* Singleton manager for the Game Menu instance.
|
|
@@ -4933,7 +4813,6 @@ var GameMenuSingleton = /** @class */ (function () {
|
|
|
4933
4813
|
|
|
4934
4814
|
|
|
4935
4815
|
|
|
4936
|
-
|
|
4937
4816
|
var _game;
|
|
4938
4817
|
var _p;
|
|
4939
4818
|
/**
|
|
@@ -4986,6 +4865,7 @@ var _switchHandler = function (newGame) {
|
|
|
4986
4865
|
* @returns {p5} The p5 instance.
|
|
4987
4866
|
*/
|
|
4988
4867
|
function bootstrap(ClientGame) {
|
|
4868
|
+
window.BrickEngineGame = ClientGame;
|
|
4989
4869
|
return new (external_p5_default())(function (p) {
|
|
4990
4870
|
_p = p;
|
|
4991
4871
|
var view = new view_GameView(p, document.body);
|
|
@@ -5022,6 +4902,49 @@ bootstrap(menu_GameMenu);
|
|
|
5022
4902
|
|
|
5023
4903
|
})();
|
|
5024
4904
|
|
|
4905
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
4906
|
+
(() => {
|
|
4907
|
+
// extracted by mini-css-extract-plugin
|
|
4908
|
+
|
|
4909
|
+
})();
|
|
4910
|
+
|
|
4911
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
4912
|
+
(() => {
|
|
4913
|
+
// extracted by mini-css-extract-plugin
|
|
4914
|
+
|
|
4915
|
+
})();
|
|
4916
|
+
|
|
4917
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
4918
|
+
(() => {
|
|
4919
|
+
// extracted by mini-css-extract-plugin
|
|
4920
|
+
|
|
4921
|
+
})();
|
|
4922
|
+
|
|
4923
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
4924
|
+
(() => {
|
|
4925
|
+
// extracted by mini-css-extract-plugin
|
|
4926
|
+
|
|
4927
|
+
})();
|
|
4928
|
+
|
|
4929
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
4930
|
+
(() => {
|
|
4931
|
+
// extracted by mini-css-extract-plugin
|
|
4932
|
+
|
|
4933
|
+
})();
|
|
4934
|
+
|
|
4935
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
4936
|
+
(() => {
|
|
4937
|
+
// extracted by mini-css-extract-plugin
|
|
4938
|
+
|
|
4939
|
+
})();
|
|
4940
|
+
|
|
4941
|
+
// This entry needs to be wrapped in an IIFE because it needs to be isolated against other entry modules.
|
|
4942
|
+
(() => {
|
|
4943
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4944
|
+
// extracted by mini-css-extract-plugin
|
|
4945
|
+
|
|
4946
|
+
})();
|
|
4947
|
+
|
|
5025
4948
|
/******/ return __webpack_exports__;
|
|
5026
4949
|
/******/ })()
|
|
5027
4950
|
;
|