@p100-web/core 100.0.65 → 100.0.67

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.
Files changed (406) hide show
  1. package/dist/GameContext.d.ts +20 -11
  2. package/dist/GameContext.d.ts.map +1 -1
  3. package/dist/GameContext.js +55 -32
  4. package/dist/GameContext.js.map +1 -1
  5. package/dist/IEngine.d.ts +8 -7
  6. package/dist/IEngine.d.ts.map +1 -1
  7. package/dist/MathTools.d.ts +4 -0
  8. package/dist/MathTools.d.ts.map +1 -1
  9. package/dist/MathTools.js +13 -0
  10. package/dist/MathTools.js.map +1 -1
  11. package/dist/PCanvas.d.ts +159 -0
  12. package/dist/PCanvas.d.ts.map +1 -0
  13. package/dist/PCanvas.js +612 -0
  14. package/dist/PCanvas.js.map +1 -0
  15. package/dist/PEnums.d.ts +2 -5
  16. package/dist/PEnums.d.ts.map +1 -1
  17. package/dist/PEnums.js +1 -5
  18. package/dist/PEnums.js.map +1 -1
  19. package/dist/PTypes.d.ts +1 -115
  20. package/dist/PTypes.d.ts.map +1 -1
  21. package/dist/index.d.ts +11 -4
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +6 -5
  24. package/dist/index.js.map +1 -1
  25. package/dist/pcomponents/PAnimator.d.ts +1 -1
  26. package/dist/pcomponents/PAnimator.d.ts.map +1 -1
  27. package/dist/pcomponents/PEnvironment.d.ts +1 -0
  28. package/dist/pcomponents/PEnvironment.d.ts.map +1 -1
  29. package/dist/pcomponents/PEnvironment.js.map +1 -1
  30. package/dist/settings/ICameraSettings.d.ts +13 -0
  31. package/dist/settings/ICameraSettings.d.ts.map +1 -0
  32. package/dist/settings/ICameraSettings.js +2 -0
  33. package/dist/settings/ICameraSettings.js.map +1 -0
  34. package/dist/settings/IPostProcessingSettings.d.ts +4 -0
  35. package/dist/settings/IPostProcessingSettings.d.ts.map +1 -0
  36. package/dist/settings/IPostProcessingSettings.js +2 -0
  37. package/dist/settings/IPostProcessingSettings.js.map +1 -0
  38. package/dist/settings/IQualitySettings.d.ts +14 -0
  39. package/dist/settings/IQualitySettings.d.ts.map +1 -0
  40. package/dist/settings/IQualitySettings.js +2 -0
  41. package/dist/settings/IQualitySettings.js.map +1 -0
  42. package/dist/settings/ISetting.d.ts +4 -0
  43. package/dist/settings/ISetting.d.ts.map +1 -0
  44. package/dist/settings/ISetting.js +2 -0
  45. package/dist/settings/ISetting.js.map +1 -0
  46. package/dist/settings/Settings_Babylonjs.d.ts +13 -0
  47. package/dist/settings/Settings_Babylonjs.d.ts.map +1 -0
  48. package/dist/settings/Settings_Babylonjs.js +27 -0
  49. package/dist/settings/Settings_Babylonjs.js.map +1 -0
  50. package/dist/settings/Settings_Base.d.ts +4 -2
  51. package/dist/settings/Settings_Base.d.ts.map +1 -1
  52. package/dist/settings/Settings_Base.js +21 -2
  53. package/dist/settings/Settings_Base.js.map +1 -1
  54. package/dist/settings/Settings_Threejs.d.ts +102 -2
  55. package/dist/settings/Settings_Threejs.d.ts.map +1 -1
  56. package/dist/settings/Settings_Threejs.js +6 -22
  57. package/dist/settings/Settings_Threejs.js.map +1 -1
  58. package/package.json +1 -7
  59. package/dist/IPCanvas.d.ts +0 -45
  60. package/dist/IPCanvas.d.ts.map +0 -1
  61. package/dist/IPCanvas.js +0 -2
  62. package/dist/IPCanvas.js.map +0 -1
  63. package/dist/src/AdaptivePerformance.d.ts +0 -20
  64. package/dist/src/AdaptivePerformance.d.ts.map +0 -1
  65. package/dist/src/AdaptivePerformance.js +0 -110
  66. package/dist/src/AdaptivePerformance.js.map +0 -1
  67. package/dist/src/DBEvent.d.ts +0 -22
  68. package/dist/src/DBEvent.d.ts.map +0 -1
  69. package/dist/src/DBEvent.js +0 -19
  70. package/dist/src/DBEvent.js.map +0 -1
  71. package/dist/src/DBNode.d.ts +0 -33
  72. package/dist/src/DBNode.d.ts.map +0 -1
  73. package/dist/src/DBNode.js +0 -31
  74. package/dist/src/DBNode.js.map +0 -1
  75. package/dist/src/DBScene.d.ts +0 -11
  76. package/dist/src/DBScene.d.ts.map +0 -1
  77. package/dist/src/DBScene.js +0 -9
  78. package/dist/src/DBScene.js.map +0 -1
  79. package/dist/src/DBVariable.d.ts +0 -22
  80. package/dist/src/DBVariable.d.ts.map +0 -1
  81. package/dist/src/DBVariable.js +0 -19
  82. package/dist/src/DBVariable.js.map +0 -1
  83. package/dist/src/DevTools.d.ts +0 -4
  84. package/dist/src/DevTools.d.ts.map +0 -1
  85. package/dist/src/DevTools.js +0 -10
  86. package/dist/src/DevTools.js.map +0 -1
  87. package/dist/src/GameContext.d.ts +0 -179
  88. package/dist/src/GameContext.d.ts.map +0 -1
  89. package/dist/src/GameContext.js +0 -594
  90. package/dist/src/GameContext.js.map +0 -1
  91. package/dist/src/IAudioListener.d.ts +0 -4
  92. package/dist/src/IAudioListener.d.ts.map +0 -1
  93. package/dist/src/IAudioListener.js +0 -2
  94. package/dist/src/IAudioListener.js.map +0 -1
  95. package/dist/src/ICameraControls.d.ts +0 -14
  96. package/dist/src/ICameraControls.d.ts.map +0 -1
  97. package/dist/src/ICameraControls.js +0 -2
  98. package/dist/src/ICameraControls.js.map +0 -1
  99. package/dist/src/ICameraNode.d.ts +0 -6
  100. package/dist/src/ICameraNode.d.ts.map +0 -1
  101. package/dist/src/ICameraNode.js +0 -2
  102. package/dist/src/ICameraNode.js.map +0 -1
  103. package/dist/src/IComponentFactory.d.ts +0 -8
  104. package/dist/src/IComponentFactory.d.ts.map +0 -1
  105. package/dist/src/IComponentFactory.js +0 -2
  106. package/dist/src/IComponentFactory.js.map +0 -1
  107. package/dist/src/IEngine.d.ts +0 -26
  108. package/dist/src/IEngine.d.ts.map +0 -1
  109. package/dist/src/IEngine.js +0 -2
  110. package/dist/src/IEngine.js.map +0 -1
  111. package/dist/src/IMaterial.d.ts +0 -5
  112. package/dist/src/IMaterial.d.ts.map +0 -1
  113. package/dist/src/IMaterial.js +0 -2
  114. package/dist/src/IMaterial.js.map +0 -1
  115. package/dist/src/IPCanvas.d.ts +0 -45
  116. package/dist/src/IPCanvas.d.ts.map +0 -1
  117. package/dist/src/IPCanvas.js +0 -2
  118. package/dist/src/IPCanvas.js.map +0 -1
  119. package/dist/src/IPNodeRenderer.d.ts +0 -23
  120. package/dist/src/IPNodeRenderer.d.ts.map +0 -1
  121. package/dist/src/IPNodeRenderer.js +0 -2
  122. package/dist/src/IPNodeRenderer.js.map +0 -1
  123. package/dist/src/IStats.d.ts +0 -9
  124. package/dist/src/IStats.d.ts.map +0 -1
  125. package/dist/src/IStats.js +0 -3
  126. package/dist/src/IStats.js.map +0 -1
  127. package/dist/src/MathTools.d.ts +0 -4
  128. package/dist/src/MathTools.d.ts.map +0 -1
  129. package/dist/src/MathTools.js +0 -7
  130. package/dist/src/MathTools.js.map +0 -1
  131. package/dist/src/PAction.d.ts +0 -64
  132. package/dist/src/PAction.d.ts.map +0 -1
  133. package/dist/src/PAction.js +0 -209
  134. package/dist/src/PAction.js.map +0 -1
  135. package/dist/src/PComponent.d.ts +0 -60
  136. package/dist/src/PComponent.d.ts.map +0 -1
  137. package/dist/src/PComponent.js +0 -44
  138. package/dist/src/PComponent.js.map +0 -1
  139. package/dist/src/PEnums.d.ts +0 -98
  140. package/dist/src/PEnums.d.ts.map +0 -1
  141. package/dist/src/PEnums.js +0 -110
  142. package/dist/src/PEnums.js.map +0 -1
  143. package/dist/src/PEvent.d.ts +0 -27
  144. package/dist/src/PEvent.d.ts.map +0 -1
  145. package/dist/src/PEvent.js +0 -40
  146. package/dist/src/PEvent.js.map +0 -1
  147. package/dist/src/PNode.d.ts +0 -111
  148. package/dist/src/PNode.d.ts.map +0 -1
  149. package/dist/src/PNode.js +0 -488
  150. package/dist/src/PNode.js.map +0 -1
  151. package/dist/src/PPayload.d.ts +0 -7
  152. package/dist/src/PPayload.d.ts.map +0 -1
  153. package/dist/src/PPayload.js +0 -19
  154. package/dist/src/PPayload.js.map +0 -1
  155. package/dist/src/PTypes.d.ts +0 -140
  156. package/dist/src/PTypes.d.ts.map +0 -1
  157. package/dist/src/PTypes.js +0 -2
  158. package/dist/src/PTypes.js.map +0 -1
  159. package/dist/src/PVariable.d.ts +0 -29
  160. package/dist/src/PVariable.d.ts.map +0 -1
  161. package/dist/src/PVariable.js +0 -51
  162. package/dist/src/PVariable.js.map +0 -1
  163. package/dist/src/PVector2.d.ts +0 -14
  164. package/dist/src/PVector2.d.ts.map +0 -1
  165. package/dist/src/PVector2.js +0 -25
  166. package/dist/src/PVector2.js.map +0 -1
  167. package/dist/src/PVector3.d.ts +0 -17
  168. package/dist/src/PVector3.d.ts.map +0 -1
  169. package/dist/src/PVector3.js +0 -36
  170. package/dist/src/PVector3.js.map +0 -1
  171. package/dist/src/animations/IAnimationAction.d.ts +0 -9
  172. package/dist/src/animations/IAnimationAction.d.ts.map +0 -1
  173. package/dist/src/animations/IAnimationAction.js +0 -2
  174. package/dist/src/animations/IAnimationAction.js.map +0 -1
  175. package/dist/src/animations/IAnimationClip.d.ts +0 -5
  176. package/dist/src/animations/IAnimationClip.d.ts.map +0 -1
  177. package/dist/src/animations/IAnimationClip.js +0 -2
  178. package/dist/src/animations/IAnimationClip.js.map +0 -1
  179. package/dist/src/animations/IAnimationMixer.d.ts +0 -7
  180. package/dist/src/animations/IAnimationMixer.d.ts.map +0 -1
  181. package/dist/src/animations/IAnimationMixer.js +0 -2
  182. package/dist/src/animations/IAnimationMixer.js.map +0 -1
  183. package/dist/src/media/IMediaLoader.d.ts +0 -31
  184. package/dist/src/media/IMediaLoader.d.ts.map +0 -1
  185. package/dist/src/media/IMediaLoader.js +0 -2
  186. package/dist/src/media/IMediaLoader.js.map +0 -1
  187. package/dist/src/media/MediaManager.d.ts +0 -17
  188. package/dist/src/media/MediaManager.d.ts.map +0 -1
  189. package/dist/src/media/MediaManager.js +0 -19
  190. package/dist/src/media/MediaManager.js.map +0 -1
  191. package/dist/src/media/PFile.d.ts +0 -13
  192. package/dist/src/media/PFile.d.ts.map +0 -1
  193. package/dist/src/media/PFile.js +0 -28
  194. package/dist/src/media/PFile.js.map +0 -1
  195. package/dist/src/pcomponents/BaseBackground.d.ts +0 -27
  196. package/dist/src/pcomponents/BaseBackground.d.ts.map +0 -1
  197. package/dist/src/pcomponents/BaseBackground.js +0 -21
  198. package/dist/src/pcomponents/BaseBackground.js.map +0 -1
  199. package/dist/src/pcomponents/BaseMaterial.d.ts +0 -45
  200. package/dist/src/pcomponents/BaseMaterial.d.ts.map +0 -1
  201. package/dist/src/pcomponents/BaseMaterial.js +0 -47
  202. package/dist/src/pcomponents/BaseMaterial.js.map +0 -1
  203. package/dist/src/pcomponents/PAnimator.d.ts +0 -37
  204. package/dist/src/pcomponents/PAnimator.d.ts.map +0 -1
  205. package/dist/src/pcomponents/PAnimator.js +0 -43
  206. package/dist/src/pcomponents/PAnimator.js.map +0 -1
  207. package/dist/src/pcomponents/PBasicMaterial.d.ts +0 -23
  208. package/dist/src/pcomponents/PBasicMaterial.d.ts.map +0 -1
  209. package/dist/src/pcomponents/PBasicMaterial.js +0 -38
  210. package/dist/src/pcomponents/PBasicMaterial.js.map +0 -1
  211. package/dist/src/pcomponents/PCallAction.d.ts +0 -19
  212. package/dist/src/pcomponents/PCallAction.d.ts.map +0 -1
  213. package/dist/src/pcomponents/PCallAction.js +0 -25
  214. package/dist/src/pcomponents/PCallAction.js.map +0 -1
  215. package/dist/src/pcomponents/PCallActions.d.ts +0 -24
  216. package/dist/src/pcomponents/PCallActions.d.ts.map +0 -1
  217. package/dist/src/pcomponents/PCallActions.js +0 -38
  218. package/dist/src/pcomponents/PCallActions.js.map +0 -1
  219. package/dist/src/pcomponents/PCameraPosition.d.ts +0 -29
  220. package/dist/src/pcomponents/PCameraPosition.d.ts.map +0 -1
  221. package/dist/src/pcomponents/PCameraPosition.js +0 -76
  222. package/dist/src/pcomponents/PCameraPosition.js.map +0 -1
  223. package/dist/src/pcomponents/PCameraTarget.d.ts +0 -29
  224. package/dist/src/pcomponents/PCameraTarget.d.ts.map +0 -1
  225. package/dist/src/pcomponents/PCameraTarget.js +0 -77
  226. package/dist/src/pcomponents/PCameraTarget.js.map +0 -1
  227. package/dist/src/pcomponents/PCollider.d.ts +0 -39
  228. package/dist/src/pcomponents/PCollider.d.ts.map +0 -1
  229. package/dist/src/pcomponents/PCollider.js +0 -56
  230. package/dist/src/pcomponents/PCollider.js.map +0 -1
  231. package/dist/src/pcomponents/PCompareBoolean.d.ts +0 -23
  232. package/dist/src/pcomponents/PCompareBoolean.d.ts.map +0 -1
  233. package/dist/src/pcomponents/PCompareBoolean.js +0 -39
  234. package/dist/src/pcomponents/PCompareBoolean.js.map +0 -1
  235. package/dist/src/pcomponents/PCompareNumber.d.ts +0 -25
  236. package/dist/src/pcomponents/PCompareNumber.d.ts.map +0 -1
  237. package/dist/src/pcomponents/PCompareNumber.js +0 -45
  238. package/dist/src/pcomponents/PCompareNumber.js.map +0 -1
  239. package/dist/src/pcomponents/PCompareString.d.ts +0 -25
  240. package/dist/src/pcomponents/PCompareString.d.ts.map +0 -1
  241. package/dist/src/pcomponents/PCompareString.js +0 -43
  242. package/dist/src/pcomponents/PCompareString.js.map +0 -1
  243. package/dist/src/pcomponents/PCompareVariable.d.ts +0 -28
  244. package/dist/src/pcomponents/PCompareVariable.d.ts.map +0 -1
  245. package/dist/src/pcomponents/PCompareVariable.js +0 -51
  246. package/dist/src/pcomponents/PCompareVariable.js.map +0 -1
  247. package/dist/src/pcomponents/PControllerInput.d.ts +0 -30
  248. package/dist/src/pcomponents/PControllerInput.d.ts.map +0 -1
  249. package/dist/src/pcomponents/PControllerInput.js +0 -42
  250. package/dist/src/pcomponents/PControllerInput.js.map +0 -1
  251. package/dist/src/pcomponents/PCubeGeometry.d.ts +0 -18
  252. package/dist/src/pcomponents/PCubeGeometry.d.ts.map +0 -1
  253. package/dist/src/pcomponents/PCubeGeometry.js +0 -22
  254. package/dist/src/pcomponents/PCubeGeometry.js.map +0 -1
  255. package/dist/src/pcomponents/PDebug.d.ts +0 -21
  256. package/dist/src/pcomponents/PDebug.d.ts.map +0 -1
  257. package/dist/src/pcomponents/PDebug.js +0 -31
  258. package/dist/src/pcomponents/PDebug.js.map +0 -1
  259. package/dist/src/pcomponents/PEnvironment.d.ts +0 -28
  260. package/dist/src/pcomponents/PEnvironment.d.ts.map +0 -1
  261. package/dist/src/pcomponents/PEnvironment.js +0 -44
  262. package/dist/src/pcomponents/PEnvironment.js.map +0 -1
  263. package/dist/src/pcomponents/PFadeAnimation.d.ts +0 -30
  264. package/dist/src/pcomponents/PFadeAnimation.d.ts.map +0 -1
  265. package/dist/src/pcomponents/PFadeAnimation.js +0 -94
  266. package/dist/src/pcomponents/PFadeAnimation.js.map +0 -1
  267. package/dist/src/pcomponents/PHud.d.ts +0 -12
  268. package/dist/src/pcomponents/PHud.d.ts.map +0 -1
  269. package/dist/src/pcomponents/PHud.js +0 -12
  270. package/dist/src/pcomponents/PHud.js.map +0 -1
  271. package/dist/src/pcomponents/PImageBackground.d.ts +0 -13
  272. package/dist/src/pcomponents/PImageBackground.d.ts.map +0 -1
  273. package/dist/src/pcomponents/PImageBackground.js +0 -18
  274. package/dist/src/pcomponents/PImageBackground.js.map +0 -1
  275. package/dist/src/pcomponents/PImageCache.d.ts +0 -22
  276. package/dist/src/pcomponents/PImageCache.d.ts.map +0 -1
  277. package/dist/src/pcomponents/PImageCache.js +0 -69
  278. package/dist/src/pcomponents/PImageCache.js.map +0 -1
  279. package/dist/src/pcomponents/PImageDetector.d.ts +0 -28
  280. package/dist/src/pcomponents/PImageDetector.d.ts.map +0 -1
  281. package/dist/src/pcomponents/PImageDetector.js +0 -38
  282. package/dist/src/pcomponents/PImageDetector.js.map +0 -1
  283. package/dist/src/pcomponents/PLight.d.ts +0 -15
  284. package/dist/src/pcomponents/PLight.d.ts.map +0 -1
  285. package/dist/src/pcomponents/PLight.js +0 -18
  286. package/dist/src/pcomponents/PLight.js.map +0 -1
  287. package/dist/src/pcomponents/PLightDirectional.d.ts +0 -19
  288. package/dist/src/pcomponents/PLightDirectional.d.ts.map +0 -1
  289. package/dist/src/pcomponents/PLightDirectional.js +0 -24
  290. package/dist/src/pcomponents/PLightDirectional.js.map +0 -1
  291. package/dist/src/pcomponents/PMaskedMaterial.d.ts +0 -20
  292. package/dist/src/pcomponents/PMaskedMaterial.d.ts.map +0 -1
  293. package/dist/src/pcomponents/PMaskedMaterial.js +0 -35
  294. package/dist/src/pcomponents/PMaskedMaterial.js.map +0 -1
  295. package/dist/src/pcomponents/PModelGLTF.d.ts +0 -33
  296. package/dist/src/pcomponents/PModelGLTF.d.ts.map +0 -1
  297. package/dist/src/pcomponents/PModelGLTF.js +0 -53
  298. package/dist/src/pcomponents/PModelGLTF.js.map +0 -1
  299. package/dist/src/pcomponents/PMoveAnimation.d.ts +0 -22
  300. package/dist/src/pcomponents/PMoveAnimation.d.ts.map +0 -1
  301. package/dist/src/pcomponents/PMoveAnimation.js +0 -44
  302. package/dist/src/pcomponents/PMoveAnimation.js.map +0 -1
  303. package/dist/src/pcomponents/PMoveToAnimation.d.ts +0 -26
  304. package/dist/src/pcomponents/PMoveToAnimation.d.ts.map +0 -1
  305. package/dist/src/pcomponents/PMoveToAnimation.js +0 -79
  306. package/dist/src/pcomponents/PMoveToAnimation.js.map +0 -1
  307. package/dist/src/pcomponents/PPhysicalMaterial.d.ts +0 -27
  308. package/dist/src/pcomponents/PPhysicalMaterial.d.ts.map +0 -1
  309. package/dist/src/pcomponents/PPhysicalMaterial.js +0 -41
  310. package/dist/src/pcomponents/PPhysicalMaterial.js.map +0 -1
  311. package/dist/src/pcomponents/PPlaneDetector.d.ts +0 -20
  312. package/dist/src/pcomponents/PPlaneDetector.d.ts.map +0 -1
  313. package/dist/src/pcomponents/PPlaneDetector.js +0 -26
  314. package/dist/src/pcomponents/PPlaneDetector.js.map +0 -1
  315. package/dist/src/pcomponents/PPlaneGeometry.d.ts +0 -20
  316. package/dist/src/pcomponents/PPlaneGeometry.d.ts.map +0 -1
  317. package/dist/src/pcomponents/PPlaneGeometry.js +0 -25
  318. package/dist/src/pcomponents/PPlaneGeometry.js.map +0 -1
  319. package/dist/src/pcomponents/PProjectRoot.d.ts +0 -38
  320. package/dist/src/pcomponents/PProjectRoot.d.ts.map +0 -1
  321. package/dist/src/pcomponents/PProjectRoot.js +0 -82
  322. package/dist/src/pcomponents/PProjectRoot.js.map +0 -1
  323. package/dist/src/pcomponents/PRotateAnimation.d.ts +0 -30
  324. package/dist/src/pcomponents/PRotateAnimation.d.ts.map +0 -1
  325. package/dist/src/pcomponents/PRotateAnimation.js +0 -72
  326. package/dist/src/pcomponents/PRotateAnimation.js.map +0 -1
  327. package/dist/src/pcomponents/PScaleAnimation.d.ts +0 -28
  328. package/dist/src/pcomponents/PScaleAnimation.d.ts.map +0 -1
  329. package/dist/src/pcomponents/PScaleAnimation.js +0 -75
  330. package/dist/src/pcomponents/PScaleAnimation.js.map +0 -1
  331. package/dist/src/pcomponents/PSceneContainer.d.ts +0 -22
  332. package/dist/src/pcomponents/PSceneContainer.d.ts.map +0 -1
  333. package/dist/src/pcomponents/PSceneContainer.js +0 -50
  334. package/dist/src/pcomponents/PSceneContainer.js.map +0 -1
  335. package/dist/src/pcomponents/PSceneRoot.d.ts +0 -16
  336. package/dist/src/pcomponents/PSceneRoot.d.ts.map +0 -1
  337. package/dist/src/pcomponents/PSceneRoot.js +0 -22
  338. package/dist/src/pcomponents/PSceneRoot.js.map +0 -1
  339. package/dist/src/pcomponents/PSlider.d.ts +0 -28
  340. package/dist/src/pcomponents/PSlider.d.ts.map +0 -1
  341. package/dist/src/pcomponents/PSlider.js +0 -37
  342. package/dist/src/pcomponents/PSlider.js.map +0 -1
  343. package/dist/src/pcomponents/PSound.d.ts +0 -34
  344. package/dist/src/pcomponents/PSound.d.ts.map +0 -1
  345. package/dist/src/pcomponents/PSound.js +0 -44
  346. package/dist/src/pcomponents/PSound.js.map +0 -1
  347. package/dist/src/pcomponents/PSphereGeometry.d.ts +0 -19
  348. package/dist/src/pcomponents/PSphereGeometry.d.ts.map +0 -1
  349. package/dist/src/pcomponents/PSphereGeometry.js +0 -24
  350. package/dist/src/pcomponents/PSphereGeometry.js.map +0 -1
  351. package/dist/src/pcomponents/PSprite.d.ts +0 -19
  352. package/dist/src/pcomponents/PSprite.d.ts.map +0 -1
  353. package/dist/src/pcomponents/PSprite.js +0 -26
  354. package/dist/src/pcomponents/PSprite.js.map +0 -1
  355. package/dist/src/pcomponents/PSpriteAnimation.d.ts +0 -25
  356. package/dist/src/pcomponents/PSpriteAnimation.d.ts.map +0 -1
  357. package/dist/src/pcomponents/PSpriteAnimation.js +0 -29
  358. package/dist/src/pcomponents/PSpriteAnimation.js.map +0 -1
  359. package/dist/src/pcomponents/PText.d.ts +0 -35
  360. package/dist/src/pcomponents/PText.d.ts.map +0 -1
  361. package/dist/src/pcomponents/PText.js +0 -48
  362. package/dist/src/pcomponents/PText.js.map +0 -1
  363. package/dist/src/pcomponents/PTransform.d.ts +0 -22
  364. package/dist/src/pcomponents/PTransform.d.ts.map +0 -1
  365. package/dist/src/pcomponents/PTransform.js +0 -37
  366. package/dist/src/pcomponents/PTransform.js.map +0 -1
  367. package/dist/src/pcomponents/PVarList.d.ts +0 -26
  368. package/dist/src/pcomponents/PVarList.d.ts.map +0 -1
  369. package/dist/src/pcomponents/PVarList.js +0 -52
  370. package/dist/src/pcomponents/PVarList.js.map +0 -1
  371. package/dist/src/pcomponents/PVarReader.d.ts +0 -19
  372. package/dist/src/pcomponents/PVarReader.d.ts.map +0 -1
  373. package/dist/src/pcomponents/PVarReader.js +0 -26
  374. package/dist/src/pcomponents/PVarReader.js.map +0 -1
  375. package/dist/src/pcomponents/PVarWriter.d.ts +0 -25
  376. package/dist/src/pcomponents/PVarWriter.d.ts.map +0 -1
  377. package/dist/src/pcomponents/PVarWriter.js +0 -46
  378. package/dist/src/pcomponents/PVarWriter.js.map +0 -1
  379. package/dist/src/pcomponents/PVideoBackground.d.ts +0 -36
  380. package/dist/src/pcomponents/PVideoBackground.d.ts.map +0 -1
  381. package/dist/src/pcomponents/PVideoBackground.js +0 -89
  382. package/dist/src/pcomponents/PVideoBackground.js.map +0 -1
  383. package/dist/src/pcomponents/PVideoMaterial.d.ts +0 -26
  384. package/dist/src/pcomponents/PVideoMaterial.d.ts.map +0 -1
  385. package/dist/src/pcomponents/PVideoMaterial.js +0 -40
  386. package/dist/src/pcomponents/PVideoMaterial.js.map +0 -1
  387. package/dist/src/pcomponents/PVideoPlayer.d.ts +0 -31
  388. package/dist/src/pcomponents/PVideoPlayer.d.ts.map +0 -1
  389. package/dist/src/pcomponents/PVideoPlayer.js +0 -70
  390. package/dist/src/pcomponents/PVideoPlayer.js.map +0 -1
  391. package/dist/src/pcomponents/PVisibility.d.ts +0 -33
  392. package/dist/src/pcomponents/PVisibility.d.ts.map +0 -1
  393. package/dist/src/pcomponents/PVisibility.js +0 -62
  394. package/dist/src/pcomponents/PVisibility.js.map +0 -1
  395. package/dist/src/pcomponents/PXRTools.d.ts +0 -32
  396. package/dist/src/pcomponents/PXRTools.d.ts.map +0 -1
  397. package/dist/src/pcomponents/PXRTools.js +0 -45
  398. package/dist/src/pcomponents/PXRTools.js.map +0 -1
  399. package/dist/src/settings/Settings_Base.d.ts +0 -7
  400. package/dist/src/settings/Settings_Base.d.ts.map +0 -1
  401. package/dist/src/settings/Settings_Base.js +0 -18
  402. package/dist/src/settings/Settings_Base.js.map +0 -1
  403. package/dist/src/settings/Settings_Threejs.d.ts +0 -9
  404. package/dist/src/settings/Settings_Threejs.d.ts.map +0 -1
  405. package/dist/src/settings/Settings_Threejs.js +0 -172
  406. package/dist/src/settings/Settings_Threejs.js.map +0 -1
@@ -1,39 +0,0 @@
1
- import { PInAction, POutAction } from "../PAction";
2
- import { DataType } from "../PEnums";
3
- import PComponent from "../PComponent";
4
- export default class PCompareBoolean extends PComponent {
5
- inevent_compare;
6
- outevent_onCompare;
7
- outevent_onTrue;
8
- outevent_onFalse;
9
- constructor(dbComponent, node, context) {
10
- super("PCompareBoolean", "Compare Boolean", node, context);
11
- this.abstract = true;
12
- this.inevent_compare = node.registerInAction("Compare", dbComponent.inevent_compare, this.callback_compare, DataType.Boolean);
13
- this.outevent_onCompare = node.registerOutAction(dbComponent.outevent_onCompare, DataType.Boolean);
14
- this.outevent_onTrue = node.registerOutAction(dbComponent.outevent_onTrue);
15
- this.outevent_onFalse = node.registerOutAction(dbComponent.outevent_onFalse);
16
- }
17
- toDB() {
18
- return {
19
- ...super.toDB(),
20
- inevent_compare: PInAction.toDB(this.inevent_compare),
21
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
22
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
23
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
24
- };
25
- }
26
- callback_compare = (_payloadValue) => {
27
- const value = _payloadValue === "1";
28
- this.outevent_onCompare?.emit(value ? "1" : "0", this);
29
- if (value) {
30
- this.outevent_onTrue?.emit(null, this);
31
- }
32
- else {
33
- this.outevent_onFalse?.emit(null, this);
34
- }
35
- };
36
- render() { }
37
- unrender() { }
38
- }
39
- //# sourceMappingURL=PCompareBoolean.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareBoolean.js","sourceRoot":"","sources":["../../../src/pcomponents/PCompareBoolean.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAaxD,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU;IACrD,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,YACE,WAA6B,EAC7B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC3D,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QAErB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC1C,SAAS,EACT,WAAW,CAAC,eAAe,EAC3B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,CAC9C,WAAW,CAAC,kBAAkB,EAC9B,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAE3E,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;IACJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,eAAe,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACrD,kBAAkB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;YAC5D,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACtD,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACzD,CAAC;IACJ,CAAC;IAED,gBAAgB,GAAG,CAAC,aAA4B,EAAE,EAAE;QAClD,MAAM,KAAK,GAAG,aAAa,KAAK,GAAG,CAAC;QACpC,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACvD,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
@@ -1,25 +0,0 @@
1
- import { IInAction, IOutAction, PInAction, POutAction } from "../PAction";
2
- import PComponent, { DBComponent } from "../PComponent";
3
- import GameContext from "../GameContext";
4
- import PNode from "../PNode";
5
- interface DBCompareNumber extends DBComponent {
6
- inevent_compare: IInAction | null;
7
- outevent_onCompare: IOutAction | null;
8
- outevent_onTrue: IOutAction | null;
9
- outevent_onFalse: IOutAction | null;
10
- compareTo: number;
11
- }
12
- export { type DBCompareNumber };
13
- export default class PCompareNumber extends PComponent {
14
- inevent_compare: PInAction | null;
15
- outevent_onCompare: POutAction | null;
16
- outevent_onTrue: POutAction | null;
17
- outevent_onFalse: POutAction | null;
18
- compareTo: number;
19
- constructor(dbComponent: DBCompareNumber, node: PNode, context: GameContext);
20
- toDB(): DBCompareNumber;
21
- callback_compare: (payload: string | null) => void;
22
- render(): void;
23
- unrender(): void;
24
- }
25
- //# sourceMappingURL=PCompareNumber.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareNumber.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PCompareNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG1E,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,eAAgB,SAAQ,WAAW;IAC3C,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,OAAO,EAAE,KAAK,eAAe,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,SAAS,EAAE,MAAM,CAAC;gBAEN,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAyB3E,IAAI,IAAI,eAAe;IAWvB,gBAAgB,GAAI,SAAS,MAAM,GAAG,IAAI,UAWxC;IAEF,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
@@ -1,45 +0,0 @@
1
- import { PInAction, POutAction } from "../PAction";
2
- import { DataType } from "../PEnums";
3
- import PPayload from "../PPayload";
4
- import PComponent from "../PComponent";
5
- export default class PCompareNumber extends PComponent {
6
- inevent_compare;
7
- outevent_onCompare;
8
- outevent_onTrue;
9
- outevent_onFalse;
10
- compareTo;
11
- constructor(dbComponent, node, context) {
12
- super("PCompareNumber", "Compare Number", node, context);
13
- this.abstract = true;
14
- this.compareTo = dbComponent.compareTo || 0;
15
- this.inevent_compare = node.registerInAction("Compare", dbComponent.inevent_compare, this.callback_compare, DataType.Number);
16
- this.outevent_onCompare = node.registerOutAction(dbComponent.outevent_onCompare, DataType.Boolean);
17
- this.outevent_onTrue = node.registerOutAction(dbComponent.outevent_onTrue);
18
- this.outevent_onFalse = node.registerOutAction(dbComponent.outevent_onFalse);
19
- }
20
- toDB() {
21
- return {
22
- ...super.toDB(),
23
- inevent_compare: PInAction.toDB(this.inevent_compare),
24
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
25
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
26
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
27
- compareTo: this.compareTo,
28
- };
29
- }
30
- callback_compare = (payload) => {
31
- if (!payload)
32
- return;
33
- const result = payload === "" + this.compareTo;
34
- this.outevent_onCompare?.emit(PPayload.fromBoolean(result), this);
35
- if (result) {
36
- this.outevent_onTrue?.emit(null, this);
37
- }
38
- else {
39
- this.outevent_onFalse?.emit(null, this);
40
- }
41
- };
42
- render() { }
43
- unrender() { }
44
- }
45
- //# sourceMappingURL=PCompareNumber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareNumber.js","sourceRoot":"","sources":["../../../src/pcomponents/PCompareNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAcxD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,SAAS,CAAS;IAElB,YAAY,WAA4B,EAAE,IAAW,EAAE,OAAoB;QACzE,KAAK,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACzD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QAErB,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,IAAI,CAAC,CAAC;QAE5C,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC1C,SAAS,EACT,WAAW,CAAC,eAAe,EAC3B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,CAC9C,WAAW,CAAC,kBAAkB,EAC9B,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAE3E,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;IACJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,eAAe,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACrD,kBAAkB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;YAC5D,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACtD,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACxD,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,gBAAgB,GAAG,CAAC,OAAsB,EAAE,EAAE;QAC5C,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,MAAM,MAAM,GAAG,OAAO,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC;QAC/C,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;QAElE,IAAI,MAAM,EAAE,CAAC;YACX,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
@@ -1,25 +0,0 @@
1
- import { type IInAction, type IOutAction, PInAction, POutAction } from "../PAction";
2
- import PComponent, { DBComponent } from "../PComponent";
3
- import GameContext from "../GameContext";
4
- import PNode from "../PNode";
5
- interface DBCompareString extends DBComponent {
6
- inevent_compare: IInAction | null;
7
- outevent_onCompare: IOutAction | null;
8
- outevent_onTrue: IOutAction | null;
9
- outevent_onFalse: IOutAction | null;
10
- compareTo: string | null;
11
- }
12
- export { type DBCompareString };
13
- export default class PCompareString extends PComponent {
14
- inevent_compare: PInAction | null;
15
- outevent_onCompare: POutAction | null;
16
- outevent_onTrue: POutAction | null;
17
- outevent_onFalse: POutAction | null;
18
- compareTo: string;
19
- constructor(dbComponent: DBCompareString, node: PNode, context: GameContext);
20
- toDB(): DBCompareString;
21
- callback_compare: (payloadValue: string | null) => void;
22
- render(): void;
23
- unrender(): void;
24
- }
25
- //# sourceMappingURL=PCompareString.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareString.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PCompareString.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,SAAS,EACT,UAAU,EACX,MAAM,YAAY,CAAC;AAEpB,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,eAAgB,SAAQ,WAAW;IAC3C,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,OAAO,EAAE,KAAK,eAAe,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,SAAS,EAAE,MAAM,CAAC;gBAEN,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAyB3E,IAAI,IAAI,eAAe;IAWvB,gBAAgB,GAAI,cAAc,MAAM,GAAG,IAAI,UAW7C;IAEF,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
@@ -1,43 +0,0 @@
1
- import { PInAction, POutAction, } from "../PAction";
2
- import { DataType } from "../PEnums";
3
- import PComponent from "../PComponent";
4
- export default class PCompareString extends PComponent {
5
- inevent_compare;
6
- outevent_onCompare;
7
- outevent_onTrue;
8
- outevent_onFalse;
9
- compareTo;
10
- constructor(dbComponent, node, context) {
11
- super("PCompareString", "Compare String", node, context);
12
- this.abstract = true;
13
- this.compareTo = dbComponent.compareTo || "";
14
- this.inevent_compare = node.registerInAction("Compare", dbComponent.inevent_compare, this.callback_compare, DataType.String);
15
- this.outevent_onCompare = node.registerOutAction(dbComponent.outevent_onCompare, DataType.Boolean);
16
- this.outevent_onTrue = node.registerOutAction(dbComponent.outevent_onTrue);
17
- this.outevent_onFalse = node.registerOutAction(dbComponent.outevent_onFalse);
18
- }
19
- toDB() {
20
- return {
21
- ...super.toDB(),
22
- inevent_compare: PInAction.toDB(this.inevent_compare),
23
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
24
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
25
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
26
- compareTo: this.compareTo === "" ? null : this.compareTo,
27
- };
28
- }
29
- callback_compare = (payloadValue) => {
30
- payloadValue = payloadValue || "";
31
- const result = payloadValue === this.compareTo;
32
- this.outevent_onCompare?.emit(result ? "1" : "0", this);
33
- if (result) {
34
- this.outevent_onTrue?.emit(null, this);
35
- }
36
- else {
37
- this.outevent_onFalse?.emit(null, this);
38
- }
39
- };
40
- render() { }
41
- unrender() { }
42
- }
43
- //# sourceMappingURL=PCompareString.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareString.js","sourceRoot":"","sources":["../../../src/pcomponents/PCompareString.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,UAAU,GACX,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAcxD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,SAAS,CAAS;IAElB,YAAY,WAA4B,EAAE,IAAW,EAAE,OAAoB;QACzE,KAAK,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACzD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QAErB,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,IAAI,EAAE,CAAC;QAE7C,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC1C,SAAS,EACT,WAAW,CAAC,eAAe,EAC3B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,CAC9C,WAAW,CAAC,kBAAkB,EAC9B,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAE3E,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;IACJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,eAAe,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACrD,kBAAkB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;YAC5D,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACtD,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACxD,SAAS,EAAE,IAAI,CAAC,SAAS,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS;SACzD,CAAC;IACJ,CAAC;IAED,gBAAgB,GAAG,CAAC,YAA2B,EAAE,EAAE;QACjD,YAAY,GAAG,YAAY,IAAI,EAAE,CAAC;QAElC,MAAM,MAAM,GAAG,YAAY,KAAK,IAAI,CAAC,SAAS,CAAC;QAE/C,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxD,IAAI,MAAM,EAAE,CAAC;YACX,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
@@ -1,28 +0,0 @@
1
- import { IInAction, IOutAction, PInAction, POutAction } from "../PAction";
2
- import { PVariable } from "../PVariable";
3
- import PComponent, { DBComponent } from "../PComponent";
4
- import GameContext from "../GameContext";
5
- import PNode from "../PNode";
6
- interface DBCompareVariable extends DBComponent {
7
- var_target: string | null;
8
- inevent_compare: IInAction | null;
9
- outevent_onCompare: IOutAction | null;
10
- outevent_onTrue: IOutAction | null;
11
- outevent_onFalse: IOutAction | null;
12
- compareTo: string;
13
- }
14
- export { type DBCompareVariable };
15
- export default class PCompareVariable extends PComponent {
16
- var_target: PVariable | null;
17
- inevent_compare: PInAction | null;
18
- outevent_onCompare: POutAction | null;
19
- outevent_onTrue: POutAction | null;
20
- outevent_onFalse: POutAction | null;
21
- compareTo: string;
22
- constructor(dbComponent: DBCompareVariable, node: PNode, context: GameContext);
23
- toDB(): DBCompareVariable;
24
- callback_compare: (_payload: string | null) => void;
25
- render(): void;
26
- unrender(): void;
27
- }
28
- //# sourceMappingURL=PCompareVariable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareVariable.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PCompareVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,OAAO,EAAE,KAAK,iBAAiB,EAAE,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,SAAS,EAAE,MAAM,CAAC;gBAGhB,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IA8BtB,IAAI,IAAI,iBAAiB;IAYzB,gBAAgB,GAAI,UAAU,MAAM,GAAG,IAAI,UAWzC;IAEF,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
@@ -1,51 +0,0 @@
1
- import { PInAction, POutAction } from "../PAction";
2
- import { DataType } from "../PEnums";
3
- import { PVariable } from "../PVariable";
4
- import PComponent from "../PComponent";
5
- export default class PCompareVariable extends PComponent {
6
- var_target;
7
- inevent_compare;
8
- outevent_onCompare;
9
- outevent_onTrue;
10
- outevent_onFalse;
11
- compareTo;
12
- constructor(dbComponent, node, context) {
13
- super("PCompareVariable", "Compare Variable", node, context);
14
- this.abstract = true;
15
- this.compareTo = dbComponent.compareTo || "";
16
- this.var_target = dbComponent.var_target
17
- ? context.getVariable(dbComponent.var_target)
18
- : null;
19
- this.inevent_compare = node.registerInAction("Compare", dbComponent.inevent_compare, this.callback_compare, DataType.None);
20
- this.outevent_onCompare = node.registerOutAction(dbComponent.outevent_onCompare, DataType.Boolean);
21
- this.outevent_onTrue = node.registerOutAction(dbComponent.outevent_onTrue);
22
- this.outevent_onFalse = node.registerOutAction(dbComponent.outevent_onFalse);
23
- }
24
- toDB() {
25
- return {
26
- ...super.toDB(),
27
- var_target: PVariable.toDB(this.var_target),
28
- inevent_compare: PInAction.toDB(this.inevent_compare),
29
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
30
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
31
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
32
- compareTo: this.compareTo,
33
- };
34
- }
35
- callback_compare = (_payload) => {
36
- if (!this.var_target) {
37
- return;
38
- }
39
- const result = this.var_target.string_value() === this.compareTo;
40
- this.outevent_onCompare?.emit(result ? "1" : "0", this);
41
- if (result) {
42
- this.outevent_onTrue?.emit(null, this);
43
- }
44
- else {
45
- this.outevent_onFalse?.emit(null, this);
46
- }
47
- };
48
- render() { }
49
- unrender() { }
50
- }
51
- //# sourceMappingURL=PCompareVariable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareVariable.js","sourceRoot":"","sources":["../../../src/pcomponents/PCompareVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAexD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,UAAU,CAAmB;IAC7B,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,SAAS,CAAS;IAElB,YACE,WAA8B,EAC9B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7D,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QAErB,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,IAAI,EAAE,CAAC;QAE7C,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU;YACtC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC;YAC7C,CAAC,CAAC,IAAI,CAAC;QAET,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC1C,SAAS,EACT,WAAW,CAAC,eAAe,EAC3B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,IAAI,CACd,CAAC;QAEF,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,CAC9C,WAAW,CAAC,kBAAkB,EAC9B,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAE3E,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;IACJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,UAAU,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;YAC3C,eAAe,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACrD,kBAAkB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;YAC5D,eAAe,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;YACtD,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACxD,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED,gBAAgB,GAAG,CAAC,QAAuB,EAAE,EAAE;QAC7C,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,OAAO;QACT,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE,KAAK,IAAI,CAAC,SAAS,CAAC;QACjE,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxD,IAAI,MAAM,EAAE,CAAC;YACX,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
@@ -1,30 +0,0 @@
1
- import GameContext from "../GameContext";
2
- import PNode from "../PNode";
3
- import { IOutAction, POutAction } from "../PAction";
4
- import PComponent, { DBComponent } from "../PComponent";
5
- interface DBControllerInput extends DBComponent {
6
- outevent_buttonA: IOutAction | null;
7
- outevent_buttonB: IOutAction | null;
8
- outevent_buttonX: IOutAction | null;
9
- outevent_buttonY: IOutAction | null;
10
- holdDurationA: number;
11
- holdDurationB: number;
12
- holdDurationX: number;
13
- holdDurationY: number;
14
- }
15
- export type { DBControllerInput };
16
- export default class PControllerInput extends PComponent {
17
- outevent_buttonA: POutAction | null;
18
- outevent_buttonB: POutAction | null;
19
- outevent_buttonX: POutAction | null;
20
- outevent_buttonY: POutAction | null;
21
- holdDurationA: number;
22
- holdDurationB: number;
23
- holdDurationX: number;
24
- holdDurationY: number;
25
- constructor(dbComponent: DBControllerInput, node: PNode, context: GameContext);
26
- toDB(): DBControllerInput;
27
- render(): void;
28
- unrender(): void;
29
- }
30
- //# sourceMappingURL=PControllerInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PControllerInput.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PControllerInput.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;gBAGpB,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IAwBrB,IAAI,IAAI,iBAAiB;IAe1B,MAAM,IAAI,IAAI;IAId,QAAQ,IAAI,IAAI;CAGjB"}
@@ -1,42 +0,0 @@
1
- import { POutAction } from "../PAction";
2
- import PComponent from "../PComponent";
3
- export default class PControllerInput extends PComponent {
4
- outevent_buttonA;
5
- outevent_buttonB;
6
- outevent_buttonX;
7
- outevent_buttonY;
8
- holdDurationA;
9
- holdDurationB;
10
- holdDurationX;
11
- holdDurationY;
12
- constructor(dbComponent, node, context) {
13
- super("PControllerInput", "Controller Input", node, context);
14
- this.abstract = true;
15
- this.holdDurationA = dbComponent.holdDurationA;
16
- this.holdDurationB = dbComponent.holdDurationB;
17
- this.holdDurationX = dbComponent.holdDurationX;
18
- this.holdDurationY = dbComponent.holdDurationY;
19
- this.outevent_buttonA = node.registerOutAction(dbComponent.outevent_buttonA);
20
- this.outevent_buttonB = node.registerOutAction(dbComponent.outevent_buttonB);
21
- this.outevent_buttonX = node.registerOutAction(dbComponent.outevent_buttonX);
22
- this.outevent_buttonY = node.registerOutAction(dbComponent.outevent_buttonY);
23
- }
24
- toDB() {
25
- return {
26
- ...super.toDB(),
27
- outevent_buttonA: POutAction.toDB(this.outevent_buttonA),
28
- outevent_buttonB: POutAction.toDB(this.outevent_buttonB),
29
- outevent_buttonX: POutAction.toDB(this.outevent_buttonX),
30
- outevent_buttonY: POutAction.toDB(this.outevent_buttonY),
31
- holdDurationA: this.holdDurationA,
32
- holdDurationB: this.holdDurationB,
33
- holdDurationX: this.holdDurationX,
34
- holdDurationY: this.holdDurationY,
35
- };
36
- }
37
- render() {
38
- }
39
- unrender() {
40
- }
41
- }
42
- //# sourceMappingURL=PControllerInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PControllerInput.js","sourceRoot":"","sources":["../../../src/pcomponents/PControllerInput.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,UAA2B,MAAM,eAAe,CAAC;AAgBxD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,gBAAgB,CAAoB;IACpC,gBAAgB,CAAoB;IACpC,gBAAgB,CAAoB;IACpC,gBAAgB,CAAoB;IAEpC,aAAa,CAAS;IACtB,aAAa,CAAS;IACtB,aAAa,CAAS;IACtB,aAAa,CAAS;IAEtB,YACE,WAA8B,EAC9B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7D,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QAErB,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAE/C,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;QACF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;QACF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;QACF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,iBAAiB,CAC5C,WAAW,CAAC,gBAAgB,CAC7B,CAAC;IACJ,CAAC;IAEA,IAAI;QACH,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACxD,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACxD,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACxD,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YAExD,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,aAAa,EAAE,IAAI,CAAC,aAAa;SAClC,CAAC;IACJ,CAAC;IAED,MAAM;IAEN,CAAC;IAED,QAAQ;IAER,CAAC;CACF"}
@@ -1,18 +0,0 @@
1
- import GameContext from "../GameContext";
2
- import PNode from "../PNode";
3
- import PComponent, { DBComponent } from "../PComponent";
4
- import PVector3, { IVector3 } from "../PVector3";
5
- interface DBCubeGeometry extends DBComponent {
6
- size: IVector3;
7
- castShadow: boolean;
8
- receiveShadow: boolean;
9
- }
10
- export type { DBCubeGeometry };
11
- export default abstract class PCubeGeometry extends PComponent {
12
- size: PVector3;
13
- castShadow: boolean;
14
- receiveShadow: boolean;
15
- constructor(dbComponent: DBCubeGeometry, node: PNode, context: GameContext);
16
- toDB(): DBCubeGeometry;
17
- }
18
- //# sourceMappingURL=PCubeGeometry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCubeGeometry.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PCubeGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEjD,UAAU,cAAe,SAAQ,WAAW;IAC1C,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,aAAc,SAAQ,UAAU;IAC5D,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;gBAGrB,WAAW,EAAE,cAAc,EAC3B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IAUrB,IAAI,IAAI,cAAc;CASxB"}
@@ -1,22 +0,0 @@
1
- import PComponent from "../PComponent";
2
- import PVector3 from "../PVector3";
3
- export default class PCubeGeometry extends PComponent {
4
- size;
5
- castShadow;
6
- receiveShadow;
7
- constructor(dbComponent, node, context) {
8
- super("PCubeGeometry", "Cube Geometry", node, context);
9
- this.size = new PVector3(dbComponent.size);
10
- this.castShadow = dbComponent.castShadow;
11
- this.receiveShadow = dbComponent.receiveShadow;
12
- }
13
- toDB() {
14
- return {
15
- ...super.toDB(),
16
- size: this.size,
17
- castShadow: this.castShadow,
18
- receiveShadow: this.receiveShadow,
19
- };
20
- }
21
- }
22
- //# sourceMappingURL=PCubeGeometry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCubeGeometry.js","sourceRoot":"","sources":["../../../src/pcomponents/PCubeGeometry.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,QAAsB,MAAM,aAAa,CAAC;AAUjD,MAAM,CAAC,OAAO,OAAgB,aAAc,SAAQ,UAAU;IAC5D,IAAI,CAAW;IACf,UAAU,CAAU;IACpB,aAAa,CAAU;IAEvB,YACE,WAA2B,EAC3B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEvD,IAAI,CAAC,IAAI,GAAG,IAAI,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAE3C,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;IACjD,CAAC;IAEA,IAAI;QACH,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;SAClC,CAAC;IACJ,CAAC;CAEF"}
@@ -1,21 +0,0 @@
1
- import PComponent, { DBComponent } from "../PComponent";
2
- import { IInAction, PInAction } from "../PAction";
3
- import GameContext from "../GameContext";
4
- import PNode from "../PNode";
5
- interface DBDebug extends DBComponent {
6
- inevent_on: IInAction | null;
7
- inevent_onNumber: IInAction | null;
8
- inevent_onBoolean: IInAction | null;
9
- }
10
- export type { DBDebug };
11
- export default class PDebug extends PComponent {
12
- inevent_on: PInAction | null;
13
- inevent_onNumber: PInAction | null;
14
- inevent_onBoolean: PInAction | null;
15
- constructor(dbComponent: DBDebug, node: PNode, context: GameContext);
16
- toDB(): DBDebug;
17
- render(): void;
18
- unrender(): void;
19
- onDebug: (payloadValue: string | null) => void;
20
- }
21
- //# sourceMappingURL=PDebug.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PDebug.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PDebug.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,OAAQ,SAAQ,WAAW;IACnC,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;CACrC;AACD,YAAY,EAAE,OAAO,EAAE,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,UAAU;IAC5C,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;gBAExB,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IA0BnE,IAAI,IAAI,OAAO;IASf,MAAM,IAAI,IAAI;IAGd,QAAQ,IAAI,IAAI;IAGhB,OAAO,GAAI,cAAc,MAAM,GAAG,IAAI,UAEpC;CACH"}
@@ -1,31 +0,0 @@
1
- import PComponent from "../PComponent";
2
- import { PInAction } from "../PAction";
3
- import { DataType } from "../PEnums";
4
- export default class PDebug extends PComponent {
5
- inevent_on;
6
- inevent_onNumber;
7
- inevent_onBoolean;
8
- constructor(dbComponent, node, context) {
9
- super("PDebug", "Debug", node, context);
10
- this.abstract = true;
11
- this.inevent_on = node.registerInAction("Debug String", dbComponent.inevent_on, this.onDebug, DataType.String);
12
- this.inevent_onNumber = node.registerInAction("Debug Number", dbComponent.inevent_onNumber, this.onDebug, DataType.Number);
13
- this.inevent_onBoolean = node.registerInAction("Debug Boolean", dbComponent.inevent_onBoolean, this.onDebug, DataType.Boolean);
14
- }
15
- toDB() {
16
- return {
17
- ...super.toDB(),
18
- inevent_on: PInAction.toDB(this.inevent_on),
19
- inevent_onNumber: PInAction.toDB(this.inevent_onNumber),
20
- inevent_onBoolean: PInAction.toDB(this.inevent_onBoolean),
21
- };
22
- }
23
- render() {
24
- }
25
- unrender() {
26
- }
27
- onDebug = (payloadValue) => {
28
- console.log("[PDebug][" + this.node.name + "]", payloadValue);
29
- };
30
- }
31
- //# sourceMappingURL=PDebug.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PDebug.js","sourceRoot":"","sources":["../../../src/pcomponents/PDebug.ts"],"names":[],"mappings":"AAAA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAa,SAAS,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAWrC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,UAAU;IAC5C,UAAU,CAAmB;IAC7B,gBAAgB,CAAmB;IACnC,iBAAiB,CAAmB;IAEpC,YAAY,WAAoB,EAAE,IAAW,EAAE,OAAoB;QACjE,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAExC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QAErB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,gBAAgB,CACrC,cAAc,EACd,WAAW,CAAC,UAAU,EACtB,IAAI,CAAC,OAAO,EACZ,QAAQ,CAAC,MAAM,CAChB,CAAC;QACF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAC3C,cAAc,EACd,WAAW,CAAC,gBAAgB,EAC5B,IAAI,CAAC,OAAO,EACZ,QAAQ,CAAC,MAAM,CAChB,CAAC;QACF,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAC5C,eAAe,EACf,WAAW,CAAC,iBAAiB,EAC7B,IAAI,CAAC,OAAO,EACZ,QAAQ,CAAC,OAAO,CACjB,CAAC;IAEJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,UAAU,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;YAC3C,gBAAgB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACvD,iBAAiB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;SAC1D,CAAC;IACJ,CAAC;IAED,MAAM;IACN,CAAC;IAED,QAAQ;IACR,CAAC;IAED,OAAO,GAAG,CAAC,YAA2B,EAAE,EAAE;QACxC,OAAO,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,GAAG,EAAE,YAAY,CAAC,CAAC;IAChE,CAAC,CAAC;CACH"}
@@ -1,28 +0,0 @@
1
- import GameContext from "../GameContext";
2
- import PNode from "../PNode";
3
- import PFile from "../media/PFile";
4
- import PComponent, { DBComponent } from "../PComponent";
5
- interface DBEnvironment extends DBComponent {
6
- file_texture: string | null;
7
- rotation: number;
8
- intensity: number;
9
- environment: boolean;
10
- background: boolean;
11
- equirectangular: boolean;
12
- }
13
- export type { DBEnvironment };
14
- export default abstract class PEnvironment extends PComponent {
15
- file_texture: PFile | null;
16
- _cacheKey: number;
17
- rotation: number;
18
- intensity: number;
19
- environment: boolean;
20
- background: boolean;
21
- equirectangular: boolean;
22
- constructor(dbComponent: DBEnvironment, node: PNode, context: GameContext);
23
- toDB(): DBEnvironment;
24
- dispose(): void;
25
- abstract _dispose(): void;
26
- unrender(): void;
27
- }
28
- //# sourceMappingURL=PEnvironment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PEnvironment.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PEnvironment.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGxD,UAAU,aAAc,SAAQ,WAAW;IACzC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,YAAa,SAAQ,UAAU;IAC3D,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,SAAS,SAAK;IAEd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;gBAGvB,WAAW,EAAE,aAAa,EAC1B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IAetB,IAAI,IAAI,aAAa;IAgBrB,OAAO;IAKP,QAAQ,CAAC,QAAQ,IAAI,IAAI;IAEzB,QAAQ;CAGT"}
@@ -1,44 +0,0 @@
1
- import PComponent from "../PComponent";
2
- import { PProperties } from "../PEnums";
3
- export default class PEnvironment extends PComponent {
4
- file_texture;
5
- _cacheKey = 0;
6
- rotation;
7
- intensity;
8
- environment;
9
- background;
10
- equirectangular;
11
- constructor(dbComponent, node, context) {
12
- super("PEnvironment", "Environment", node, context);
13
- this.properties = PProperties.NoChildren;
14
- this.file_texture = this.context.requestFile(dbComponent.file_texture);
15
- this.rotation = dbComponent.rotation;
16
- this.intensity = dbComponent.intensity;
17
- this.environment = dbComponent.environment;
18
- this.background = dbComponent.background;
19
- this.equirectangular = dbComponent.equirectangular;
20
- }
21
- toDB() {
22
- return {
23
- ...super.toDB(),
24
- file_texture: this.file_texture !== null ? this.file_texture._id : null,
25
- rotation: this.rotation,
26
- intensity: this.intensity,
27
- environment: this.environment,
28
- background: this.background,
29
- equirectangular: this.equirectangular,
30
- };
31
- }
32
- //
33
- // PComponent
34
- //
35
- dispose() {
36
- // Release files
37
- if (this.file_texture)
38
- this.context.releaseFile(this.file_texture);
39
- }
40
- unrender() {
41
- this._dispose();
42
- }
43
- }
44
- //# sourceMappingURL=PEnvironment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PEnvironment.js","sourceRoot":"","sources":["../../../src/pcomponents/PEnvironment.ts"],"names":[],"mappings":"AAGA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAaxC,MAAM,CAAC,OAAO,OAAgB,YAAa,SAAQ,UAAU;IAC3D,YAAY,CAAe;IAC3B,SAAS,GAAG,CAAC,CAAC;IAEd,QAAQ,CAAS;IACjB,SAAS,CAAS;IAClB,WAAW,CAAU;IACrB,UAAU,CAAU;IACpB,eAAe,CAAU;IAEzB,YACE,WAA0B,EAC1B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,cAAc,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEpD,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;QAEzC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAEvE,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,eAAe,GAAG,WAAW,CAAC,eAAe,CAAC;IACrD,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,YAAY,EAAE,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;YACvE,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,eAAe,EAAE,IAAI,CAAC,eAAe;SACtC,CAAC;IACJ,CAAC;IAED,EAAE;IACF,cAAc;IACd,EAAE;IAEF,OAAO;QACL,gBAAgB;QAChB,IAAI,IAAI,CAAC,YAAY;YAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACrE,CAAC;IAID,QAAQ;QACN,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;CACF"}
@@ -1,30 +0,0 @@
1
- import PComponent, { DBComponent } from "../PComponent";
2
- import { IInAction, IOutAction, PInAction, POutAction } from "../PAction";
3
- import GameContext from "../GameContext";
4
- import PNode from "../PNode";
5
- import { Tween } from "@tweenjs/tween.js";
6
- interface DBFadeAnimation extends DBComponent {
7
- inevent_fadeInOn: IInAction | null;
8
- inevent_fadeOutOn: IInAction | null;
9
- outevent_onFadeOut: IOutAction | null;
10
- outevent_onFadeIn: IOutAction | null;
11
- duration: number;
12
- }
13
- export type { DBFadeAnimation };
14
- export default class PFadeAnimation extends PComponent {
15
- inevent_fadeInOn: PInAction | null;
16
- inevent_fadeOutOn: PInAction | null;
17
- outevent_onFadeOut: POutAction | null;
18
- outevent_onFadeIn: POutAction | null;
19
- duration: number;
20
- protected _tween: Tween<any> | null;
21
- protected _maxValue: number;
22
- constructor(dbComponent: DBFadeAnimation, node: PNode, context: GameContext);
23
- toDB(): DBFadeAnimation;
24
- render(): void;
25
- unrender(): void;
26
- play(): void;
27
- callback_onFadeIn: () => void;
28
- callback_onFadeOut: () => void;
29
- }
30
- //# sourceMappingURL=PFadeAnimation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PFadeAnimation.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PFadeAnimation.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAU,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAElD,UAAU,eAAgB,SAAQ,WAAW;IAC3C,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;IAEpC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IAErC,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;IAEpC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IAErC,QAAQ,SAAQ;IAEhB,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAQ;IAC3C,SAAS,CAAC,SAAS,EAAE,MAAM,CAAO;gBAEtB,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAuB3E,IAAI,IAAI,eAAe;IAWvB,MAAM,IAAI,IAAI;IAEd,QAAQ;IAOR,IAAI;IAeJ,iBAAiB,aAyBf;IAEF,kBAAkB,aAwBhB;CACH"}