@p100-web/core 100.1.1 → 100.1.2
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/AdaptivePerformance.d.ts +20 -0
- package/dist/AdaptivePerformance.d.ts.map +1 -0
- package/dist/AdaptivePerformance.js +110 -0
- package/dist/AdaptivePerformance.js.map +1 -0
- package/dist/DBEvent.d.ts +22 -0
- package/dist/DBEvent.d.ts.map +1 -0
- package/dist/DBEvent.js +19 -0
- package/dist/DBEvent.js.map +1 -0
- package/dist/DBNode.d.ts +33 -0
- package/dist/DBNode.d.ts.map +1 -0
- package/dist/DBNode.js +31 -0
- package/dist/DBNode.js.map +1 -0
- package/dist/DBScene.d.ts +11 -0
- package/dist/DBScene.d.ts.map +1 -0
- package/dist/DBScene.js +9 -0
- package/dist/DBScene.js.map +1 -0
- package/dist/DBVariable.d.ts +22 -0
- package/dist/DBVariable.d.ts.map +1 -0
- package/dist/DBVariable.js +19 -0
- package/dist/DBVariable.js.map +1 -0
- package/dist/DevTools.d.ts +4 -0
- package/dist/DevTools.d.ts.map +1 -0
- package/dist/DevTools.js +10 -0
- package/dist/DevTools.js.map +1 -0
- package/dist/GameContext.d.ts +182 -0
- package/dist/GameContext.d.ts.map +1 -0
- package/dist/GameContext.js +590 -0
- package/dist/GameContext.js.map +1 -0
- package/dist/IAudioListener.d.ts +4 -0
- package/dist/IAudioListener.d.ts.map +1 -0
- package/dist/IAudioListener.js +2 -0
- package/dist/IAudioListener.js.map +1 -0
- package/dist/ICameraControls.d.ts +17 -0
- package/dist/ICameraControls.d.ts.map +1 -0
- package/dist/ICameraControls.js +2 -0
- package/dist/ICameraControls.js.map +1 -0
- package/dist/IComponentFactory.d.ts +8 -0
- package/dist/IComponentFactory.d.ts.map +1 -0
- package/dist/IComponentFactory.js +2 -0
- package/dist/IComponentFactory.js.map +1 -0
- package/dist/IEngine.d.ts +23 -0
- package/dist/IEngine.d.ts.map +1 -0
- package/dist/IEngine.js +2 -0
- package/dist/IEngine.js.map +1 -0
- package/dist/IMaterial.d.ts +5 -0
- package/dist/IMaterial.d.ts.map +1 -0
- package/dist/IMaterial.js +2 -0
- package/dist/IMaterial.js.map +1 -0
- package/dist/IPMaterial.d.ts +10 -0
- package/dist/IPMaterial.d.ts.map +1 -0
- package/dist/IPMaterial.js +2 -0
- package/dist/IPMaterial.js.map +1 -0
- package/dist/IPNodeRenderer.d.ts +27 -0
- package/dist/IPNodeRenderer.d.ts.map +1 -0
- package/dist/IPNodeRenderer.js +2 -0
- package/dist/IPNodeRenderer.js.map +1 -0
- package/dist/IStats.d.ts +9 -0
- package/dist/IStats.d.ts.map +1 -0
- package/dist/IStats.js +3 -0
- package/dist/IStats.js.map +1 -0
- package/dist/MathTools.d.ts +8 -0
- package/dist/MathTools.d.ts.map +1 -0
- package/dist/MathTools.js +20 -0
- package/dist/MathTools.js.map +1 -0
- package/dist/PAction.d.ts +71 -0
- package/dist/PAction.d.ts.map +1 -0
- package/dist/PAction.js +238 -0
- package/dist/PAction.js.map +1 -0
- package/dist/PCanvas.d.ts +161 -0
- package/dist/PCanvas.d.ts.map +1 -0
- package/dist/PCanvas.js +619 -0
- package/dist/PCanvas.js.map +1 -0
- package/dist/PComponent.d.ts +48 -0
- package/dist/PComponent.d.ts.map +1 -0
- package/dist/PComponent.js +70 -0
- package/dist/PComponent.js.map +1 -0
- package/dist/PEnums.d.ts +116 -0
- package/dist/PEnums.d.ts.map +1 -0
- package/dist/PEnums.js +129 -0
- package/dist/PEnums.js.map +1 -0
- package/dist/PEvent.d.ts +27 -0
- package/dist/PEvent.d.ts.map +1 -0
- package/dist/PEvent.js +40 -0
- package/dist/PEvent.js.map +1 -0
- package/dist/PNode.d.ts +133 -0
- package/dist/PNode.d.ts.map +1 -0
- package/dist/PNode.js +555 -0
- package/dist/PNode.js.map +1 -0
- package/dist/POutValue.d.ts +16 -0
- package/dist/POutValue.d.ts.map +1 -0
- package/dist/POutValue.js +26 -0
- package/dist/POutValue.js.map +1 -0
- package/dist/PPayload.d.ts +7 -0
- package/dist/PPayload.d.ts.map +1 -0
- package/dist/PPayload.js +19 -0
- package/dist/PPayload.js.map +1 -0
- package/dist/PTypes.d.ts +36 -0
- package/dist/PTypes.d.ts.map +1 -0
- package/dist/PTypes.js +2 -0
- package/dist/PTypes.js.map +1 -0
- package/dist/PVariable.d.ts +29 -0
- package/dist/PVariable.d.ts.map +1 -0
- package/dist/PVariable.js +51 -0
- package/dist/PVariable.js.map +1 -0
- package/dist/PVector2.d.ts +14 -0
- package/dist/PVector2.d.ts.map +1 -0
- package/dist/PVector2.js +25 -0
- package/dist/PVector2.js.map +1 -0
- package/dist/PVector3.d.ts +18 -0
- package/dist/PVector3.d.ts.map +1 -0
- package/dist/PVector3.js +39 -0
- package/dist/PVector3.js.map +1 -0
- package/dist/animations/IModelAnimation.d.ts +17 -0
- package/dist/animations/IModelAnimation.d.ts.map +1 -0
- package/dist/animations/IModelAnimation.js +2 -0
- package/dist/animations/IModelAnimation.js.map +1 -0
- package/dist/assets/AssetLoader.d.ts +10 -0
- package/dist/assets/AssetLoader.d.ts.map +1 -0
- package/dist/assets/AssetLoader.js +12 -0
- package/dist/assets/AssetLoader.js.map +1 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +110 -0
- package/dist/index.js.map +1 -0
- package/dist/media/MediaManager.d.ts +17 -0
- package/dist/media/MediaManager.d.ts.map +1 -0
- package/dist/media/MediaManager.js +19 -0
- package/dist/media/MediaManager.js.map +1 -0
- package/dist/media/PFile.d.ts +13 -0
- package/dist/media/PFile.d.ts.map +1 -0
- package/dist/media/PFile.js +28 -0
- package/dist/media/PFile.js.map +1 -0
- package/dist/pcomponents/BaseMaterial.d.ts +46 -0
- package/dist/pcomponents/BaseMaterial.d.ts.map +1 -0
- package/dist/pcomponents/BaseMaterial.js +51 -0
- package/dist/pcomponents/BaseMaterial.js.map +1 -0
- package/dist/pcomponents/PAnimator.d.ts +37 -0
- package/dist/pcomponents/PAnimator.d.ts.map +1 -0
- package/dist/pcomponents/PAnimator.js +45 -0
- package/dist/pcomponents/PAnimator.js.map +1 -0
- package/dist/pcomponents/PBackground.d.ts +34 -0
- package/dist/pcomponents/PBackground.d.ts.map +1 -0
- package/dist/pcomponents/PBackground.js +45 -0
- package/dist/pcomponents/PBackground.js.map +1 -0
- package/dist/pcomponents/PBasicMaterial.d.ts +23 -0
- package/dist/pcomponents/PBasicMaterial.d.ts.map +1 -0
- package/dist/pcomponents/PBasicMaterial.js +39 -0
- package/dist/pcomponents/PBasicMaterial.js.map +1 -0
- package/dist/pcomponents/PCallAction.d.ts +19 -0
- package/dist/pcomponents/PCallAction.d.ts.map +1 -0
- package/dist/pcomponents/PCallAction.js +24 -0
- package/dist/pcomponents/PCallAction.js.map +1 -0
- package/dist/pcomponents/PCallActions.d.ts +24 -0
- package/dist/pcomponents/PCallActions.d.ts.map +1 -0
- package/dist/pcomponents/PCallActions.js +37 -0
- package/dist/pcomponents/PCallActions.js.map +1 -0
- package/dist/pcomponents/PCameraPosition.d.ts +29 -0
- package/dist/pcomponents/PCameraPosition.d.ts.map +1 -0
- package/dist/pcomponents/PCameraPosition.js +78 -0
- package/dist/pcomponents/PCameraPosition.js.map +1 -0
- package/dist/pcomponents/PCameraTarget.d.ts +29 -0
- package/dist/pcomponents/PCameraTarget.d.ts.map +1 -0
- package/dist/pcomponents/PCameraTarget.js +79 -0
- package/dist/pcomponents/PCameraTarget.js.map +1 -0
- package/dist/pcomponents/PCollider.d.ts +40 -0
- package/dist/pcomponents/PCollider.d.ts.map +1 -0
- package/dist/pcomponents/PCollider.js +58 -0
- package/dist/pcomponents/PCollider.js.map +1 -0
- package/dist/pcomponents/PCompareBoolean.d.ts +23 -0
- package/dist/pcomponents/PCompareBoolean.d.ts.map +1 -0
- package/dist/pcomponents/PCompareBoolean.js +38 -0
- package/dist/pcomponents/PCompareBoolean.js.map +1 -0
- package/dist/pcomponents/PCompareInteger.d.ts +25 -0
- package/dist/pcomponents/PCompareInteger.d.ts.map +1 -0
- package/dist/pcomponents/PCompareInteger.js +44 -0
- package/dist/pcomponents/PCompareInteger.js.map +1 -0
- package/dist/pcomponents/PCompareNumber.d.ts +25 -0
- package/dist/pcomponents/PCompareNumber.d.ts.map +1 -0
- package/dist/pcomponents/PCompareNumber.js +44 -0
- package/dist/pcomponents/PCompareNumber.js.map +1 -0
- package/dist/pcomponents/PCompareString.d.ts +25 -0
- package/dist/pcomponents/PCompareString.d.ts.map +1 -0
- package/dist/pcomponents/PCompareString.js +42 -0
- package/dist/pcomponents/PCompareString.js.map +1 -0
- package/dist/pcomponents/PCompareVariable.d.ts +28 -0
- package/dist/pcomponents/PCompareVariable.d.ts.map +1 -0
- package/dist/pcomponents/PCompareVariable.js +50 -0
- package/dist/pcomponents/PCompareVariable.js.map +1 -0
- package/dist/pcomponents/PControllerInput.d.ts +30 -0
- package/dist/pcomponents/PControllerInput.d.ts.map +1 -0
- package/dist/pcomponents/PControllerInput.js +41 -0
- package/dist/pcomponents/PControllerInput.js.map +1 -0
- package/dist/pcomponents/PCubeGeometry.d.ts +18 -0
- package/dist/pcomponents/PCubeGeometry.d.ts.map +1 -0
- package/dist/pcomponents/PCubeGeometry.js +23 -0
- package/dist/pcomponents/PCubeGeometry.js.map +1 -0
- package/dist/pcomponents/PDebug.d.ts +23 -0
- package/dist/pcomponents/PDebug.d.ts.map +1 -0
- package/dist/pcomponents/PDebug.js +31 -0
- package/dist/pcomponents/PDebug.js.map +1 -0
- package/dist/pcomponents/PEnvironment.d.ts +27 -0
- package/dist/pcomponents/PEnvironment.d.ts.map +1 -0
- package/dist/pcomponents/PEnvironment.js +43 -0
- package/dist/pcomponents/PEnvironment.js.map +1 -0
- package/dist/pcomponents/PFadeAnimation.d.ts +30 -0
- package/dist/pcomponents/PFadeAnimation.d.ts.map +1 -0
- package/dist/pcomponents/PFadeAnimation.js +98 -0
- package/dist/pcomponents/PFadeAnimation.js.map +1 -0
- package/dist/pcomponents/PHud.d.ts +12 -0
- package/dist/pcomponents/PHud.d.ts.map +1 -0
- package/dist/pcomponents/PHud.js +12 -0
- package/dist/pcomponents/PHud.js.map +1 -0
- package/dist/pcomponents/PImageCache.d.ts +18 -0
- package/dist/pcomponents/PImageCache.d.ts.map +1 -0
- package/dist/pcomponents/PImageCache.js +44 -0
- package/dist/pcomponents/PImageCache.js.map +1 -0
- package/dist/pcomponents/PImageDetector.d.ts +28 -0
- package/dist/pcomponents/PImageDetector.d.ts.map +1 -0
- package/dist/pcomponents/PImageDetector.js +39 -0
- package/dist/pcomponents/PImageDetector.js.map +1 -0
- package/dist/pcomponents/PInteger.d.ts +39 -0
- package/dist/pcomponents/PInteger.d.ts.map +1 -0
- package/dist/pcomponents/PInteger.js +75 -0
- package/dist/pcomponents/PInteger.js.map +1 -0
- package/dist/pcomponents/PIntegerAnimator.d.ts +36 -0
- package/dist/pcomponents/PIntegerAnimator.d.ts.map +1 -0
- package/dist/pcomponents/PIntegerAnimator.js +105 -0
- package/dist/pcomponents/PIntegerAnimator.js.map +1 -0
- package/dist/pcomponents/PLight.d.ts +15 -0
- package/dist/pcomponents/PLight.d.ts.map +1 -0
- package/dist/pcomponents/PLight.js +19 -0
- package/dist/pcomponents/PLight.js.map +1 -0
- package/dist/pcomponents/PLightDirectional.d.ts +19 -0
- package/dist/pcomponents/PLightDirectional.d.ts.map +1 -0
- package/dist/pcomponents/PLightDirectional.js +25 -0
- package/dist/pcomponents/PLightDirectional.js.map +1 -0
- package/dist/pcomponents/PMaskedMaterial.d.ts +20 -0
- package/dist/pcomponents/PMaskedMaterial.d.ts.map +1 -0
- package/dist/pcomponents/PMaskedMaterial.js +33 -0
- package/dist/pcomponents/PMaskedMaterial.js.map +1 -0
- package/dist/pcomponents/PMaterialModifier.d.ts +20 -0
- package/dist/pcomponents/PMaterialModifier.d.ts.map +1 -0
- package/dist/pcomponents/PMaterialModifier.js +22 -0
- package/dist/pcomponents/PMaterialModifier.js.map +1 -0
- package/dist/pcomponents/PModelAnnotation.d.ts +43 -0
- package/dist/pcomponents/PModelAnnotation.d.ts.map +1 -0
- package/dist/pcomponents/PModelAnnotation.js +114 -0
- package/dist/pcomponents/PModelAnnotation.js.map +1 -0
- package/dist/pcomponents/PModelAnnotations.d.ts +42 -0
- package/dist/pcomponents/PModelAnnotations.d.ts.map +1 -0
- package/dist/pcomponents/PModelAnnotations.js +123 -0
- package/dist/pcomponents/PModelAnnotations.js.map +1 -0
- package/dist/pcomponents/PModelGLTF.d.ts +36 -0
- package/dist/pcomponents/PModelGLTF.d.ts.map +1 -0
- package/dist/pcomponents/PModelGLTF.js +61 -0
- package/dist/pcomponents/PModelGLTF.js.map +1 -0
- package/dist/pcomponents/PModelNode.d.ts +16 -0
- package/dist/pcomponents/PModelNode.d.ts.map +1 -0
- package/dist/pcomponents/PModelNode.js +18 -0
- package/dist/pcomponents/PModelNode.js.map +1 -0
- package/dist/pcomponents/PMoveAnimation.d.ts +27 -0
- package/dist/pcomponents/PMoveAnimation.d.ts.map +1 -0
- package/dist/pcomponents/PMoveAnimation.js +65 -0
- package/dist/pcomponents/PMoveAnimation.js.map +1 -0
- package/dist/pcomponents/PMoveToAnimation.d.ts +26 -0
- package/dist/pcomponents/PMoveToAnimation.d.ts.map +1 -0
- package/dist/pcomponents/PMoveToAnimation.js +81 -0
- package/dist/pcomponents/PMoveToAnimation.js.map +1 -0
- package/dist/pcomponents/PPhysicalMaterial.d.ts +29 -0
- package/dist/pcomponents/PPhysicalMaterial.d.ts.map +1 -0
- package/dist/pcomponents/PPhysicalMaterial.js +43 -0
- package/dist/pcomponents/PPhysicalMaterial.js.map +1 -0
- package/dist/pcomponents/PPlaneDetector.d.ts +20 -0
- package/dist/pcomponents/PPlaneDetector.d.ts.map +1 -0
- package/dist/pcomponents/PPlaneDetector.js +27 -0
- package/dist/pcomponents/PPlaneDetector.js.map +1 -0
- package/dist/pcomponents/PPlaneGeometry.d.ts +20 -0
- package/dist/pcomponents/PPlaneGeometry.d.ts.map +1 -0
- package/dist/pcomponents/PPlaneGeometry.js +26 -0
- package/dist/pcomponents/PPlaneGeometry.js.map +1 -0
- package/dist/pcomponents/PProjectRoot.d.ts +38 -0
- package/dist/pcomponents/PProjectRoot.d.ts.map +1 -0
- package/dist/pcomponents/PProjectRoot.js +82 -0
- package/dist/pcomponents/PProjectRoot.js.map +1 -0
- package/dist/pcomponents/PRotateAnimation.d.ts +32 -0
- package/dist/pcomponents/PRotateAnimation.d.ts.map +1 -0
- package/dist/pcomponents/PRotateAnimation.js +81 -0
- package/dist/pcomponents/PRotateAnimation.js.map +1 -0
- package/dist/pcomponents/PScaleAnimation.d.ts +28 -0
- package/dist/pcomponents/PScaleAnimation.d.ts.map +1 -0
- package/dist/pcomponents/PScaleAnimation.js +88 -0
- package/dist/pcomponents/PScaleAnimation.js.map +1 -0
- package/dist/pcomponents/PSceneContainer.d.ts +22 -0
- package/dist/pcomponents/PSceneContainer.d.ts.map +1 -0
- package/dist/pcomponents/PSceneContainer.js +51 -0
- package/dist/pcomponents/PSceneContainer.js.map +1 -0
- package/dist/pcomponents/PSceneRoot.d.ts +16 -0
- package/dist/pcomponents/PSceneRoot.d.ts.map +1 -0
- package/dist/pcomponents/PSceneRoot.js +23 -0
- package/dist/pcomponents/PSceneRoot.js.map +1 -0
- package/dist/pcomponents/PSlider.d.ts +34 -0
- package/dist/pcomponents/PSlider.d.ts.map +1 -0
- package/dist/pcomponents/PSlider.js +39 -0
- package/dist/pcomponents/PSlider.js.map +1 -0
- package/dist/pcomponents/PSound.d.ts +34 -0
- package/dist/pcomponents/PSound.d.ts.map +1 -0
- package/dist/pcomponents/PSound.js +45 -0
- package/dist/pcomponents/PSound.js.map +1 -0
- package/dist/pcomponents/PSphereGeometry.d.ts +19 -0
- package/dist/pcomponents/PSphereGeometry.d.ts.map +1 -0
- package/dist/pcomponents/PSphereGeometry.js +25 -0
- package/dist/pcomponents/PSphereGeometry.js.map +1 -0
- package/dist/pcomponents/PSprite.d.ts +19 -0
- package/dist/pcomponents/PSprite.d.ts.map +1 -0
- package/dist/pcomponents/PSprite.js +27 -0
- package/dist/pcomponents/PSprite.js.map +1 -0
- package/dist/pcomponents/PSpriteSheet.d.ts +27 -0
- package/dist/pcomponents/PSpriteSheet.d.ts.map +1 -0
- package/dist/pcomponents/PSpriteSheet.js +42 -0
- package/dist/pcomponents/PSpriteSheet.js.map +1 -0
- package/dist/pcomponents/PText.d.ts +35 -0
- package/dist/pcomponents/PText.d.ts.map +1 -0
- package/dist/pcomponents/PText.js +49 -0
- package/dist/pcomponents/PText.js.map +1 -0
- package/dist/pcomponents/PTransform.d.ts +23 -0
- package/dist/pcomponents/PTransform.d.ts.map +1 -0
- package/dist/pcomponents/PTransform.js +67 -0
- package/dist/pcomponents/PTransform.js.map +1 -0
- package/dist/pcomponents/PVarList.d.ts +36 -0
- package/dist/pcomponents/PVarList.d.ts.map +1 -0
- package/dist/pcomponents/PVarList.js +71 -0
- package/dist/pcomponents/PVarList.js.map +1 -0
- package/dist/pcomponents/PVarReader.d.ts +19 -0
- package/dist/pcomponents/PVarReader.d.ts.map +1 -0
- package/dist/pcomponents/PVarReader.js +25 -0
- package/dist/pcomponents/PVarReader.js.map +1 -0
- package/dist/pcomponents/PVarWriter.d.ts +25 -0
- package/dist/pcomponents/PVarWriter.d.ts.map +1 -0
- package/dist/pcomponents/PVarWriter.js +45 -0
- package/dist/pcomponents/PVarWriter.js.map +1 -0
- package/dist/pcomponents/PVideoPlayer.d.ts +35 -0
- package/dist/pcomponents/PVideoPlayer.d.ts.map +1 -0
- package/dist/pcomponents/PVideoPlayer.js +94 -0
- package/dist/pcomponents/PVideoPlayer.js.map +1 -0
- package/dist/pcomponents/PVisibility.d.ts +33 -0
- package/dist/pcomponents/PVisibility.d.ts.map +1 -0
- package/dist/pcomponents/PVisibility.js +63 -0
- package/dist/pcomponents/PVisibility.js.map +1 -0
- package/dist/pcomponents/PXRTools.d.ts +32 -0
- package/dist/pcomponents/PXRTools.d.ts.map +1 -0
- package/dist/pcomponents/PXRTools.js +44 -0
- package/dist/pcomponents/PXRTools.js.map +1 -0
- package/dist/settings/ICameraSettings.d.ts +13 -0
- package/dist/settings/ICameraSettings.d.ts.map +1 -0
- package/dist/settings/ICameraSettings.js +2 -0
- package/dist/settings/ICameraSettings.js.map +1 -0
- package/dist/settings/IQualitySettings.d.ts +14 -0
- package/dist/settings/IQualitySettings.d.ts.map +1 -0
- package/dist/settings/IQualitySettings.js +2 -0
- package/dist/settings/IQualitySettings.js.map +1 -0
- package/dist/settings/IRenderSetting.d.ts +7 -0
- package/dist/settings/IRenderSetting.d.ts.map +1 -0
- package/dist/settings/IRenderSetting.js +2 -0
- package/dist/settings/IRenderSetting.js.map +1 -0
- package/dist/settings/ISetting.d.ts +4 -0
- package/dist/settings/ISetting.d.ts.map +1 -0
- package/dist/settings/ISetting.js +2 -0
- package/dist/settings/ISetting.js.map +1 -0
- package/dist/settings/IWebSettings.d.ts +6 -0
- package/dist/settings/IWebSettings.d.ts.map +1 -0
- package/dist/settings/IWebSettings.js +2 -0
- package/dist/settings/IWebSettings.js.map +1 -0
- package/dist/settings/Settings_Babylonjs.d.ts +101 -0
- package/dist/settings/Settings_Babylonjs.d.ts.map +1 -0
- package/dist/settings/Settings_Babylonjs.js +85 -0
- package/dist/settings/Settings_Babylonjs.js.map +1 -0
- package/dist/settings/Settings_Base.d.ts +11 -0
- package/dist/settings/Settings_Base.d.ts.map +1 -0
- package/dist/settings/Settings_Base.js +39 -0
- package/dist/settings/Settings_Base.js.map +1 -0
- package/dist/settings/Settings_Threejs.d.ts +106 -0
- package/dist/settings/Settings_Threejs.d.ts.map +1 -0
- package/dist/settings/Settings_Threejs.js +165 -0
- package/dist/settings/Settings_Threejs.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;IA6BtB,IAAI,IAAI,iBAAiB;IAYzB,gBAAgB,GAAI,UAAU,MAAM,GAAG,IAAI,UAWzC;IAEF,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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(dbComponent, "PCompareVariable", "Compare Variable", node, context);
|
|
14
|
+
this.compareTo = dbComponent.compareTo || "";
|
|
15
|
+
this.var_target = dbComponent.var_target
|
|
16
|
+
? context.getVariable(dbComponent.var_target)
|
|
17
|
+
: null;
|
|
18
|
+
this.inevent_compare = node.registerInAction("Compare", dbComponent.inevent_compare, this.callback_compare, DataType.None);
|
|
19
|
+
this.outevent_onCompare = node.registerOutAction(dbComponent.outevent_onCompare, DataType.Boolean);
|
|
20
|
+
this.outevent_onTrue = node.registerOutAction(dbComponent.outevent_onTrue);
|
|
21
|
+
this.outevent_onFalse = node.registerOutAction(dbComponent.outevent_onFalse);
|
|
22
|
+
}
|
|
23
|
+
toDB() {
|
|
24
|
+
return {
|
|
25
|
+
...super.toDB(),
|
|
26
|
+
var_target: PVariable.toDB(this.var_target),
|
|
27
|
+
inevent_compare: PInAction.toDB(this.inevent_compare),
|
|
28
|
+
outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
|
|
29
|
+
outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
|
|
30
|
+
outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
|
|
31
|
+
compareTo: this.compareTo,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
callback_compare = (_payload) => {
|
|
35
|
+
if (!this.var_target) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const result = this.var_target.string_value() === this.compareTo;
|
|
39
|
+
this.outevent_onCompare?.emit(result ? "1" : "0", this);
|
|
40
|
+
if (result) {
|
|
41
|
+
this.outevent_onTrue?.emit(null, this);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.outevent_onFalse?.emit(null, this);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
render() { }
|
|
48
|
+
unrender() { }
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=PCompareVariable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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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AE,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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;IAuBrB,IAAI,IAAI,iBAAiB;IAe1B,MAAM,IAAI,IAAI;IAId,QAAQ,IAAI,IAAI;CAGjB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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(dbComponent, "PControllerInput", "Controller Input", node, context);
|
|
14
|
+
this.holdDurationA = dbComponent.holdDurationA;
|
|
15
|
+
this.holdDurationB = dbComponent.holdDurationB;
|
|
16
|
+
this.holdDurationX = dbComponent.holdDurationX;
|
|
17
|
+
this.holdDurationY = dbComponent.holdDurationY;
|
|
18
|
+
this.outevent_buttonA = node.registerOutAction(dbComponent.outevent_buttonA);
|
|
19
|
+
this.outevent_buttonB = node.registerOutAction(dbComponent.outevent_buttonB);
|
|
20
|
+
this.outevent_buttonX = node.registerOutAction(dbComponent.outevent_buttonX);
|
|
21
|
+
this.outevent_buttonY = node.registerOutAction(dbComponent.outevent_buttonY);
|
|
22
|
+
}
|
|
23
|
+
toDB() {
|
|
24
|
+
return {
|
|
25
|
+
...super.toDB(),
|
|
26
|
+
outevent_buttonA: POutAction.toDB(this.outevent_buttonA),
|
|
27
|
+
outevent_buttonB: POutAction.toDB(this.outevent_buttonB),
|
|
28
|
+
outevent_buttonX: POutAction.toDB(this.outevent_buttonX),
|
|
29
|
+
outevent_buttonY: POutAction.toDB(this.outevent_buttonY),
|
|
30
|
+
holdDurationA: this.holdDurationA,
|
|
31
|
+
holdDurationB: this.holdDurationB,
|
|
32
|
+
holdDurationX: this.holdDurationX,
|
|
33
|
+
holdDurationY: this.holdDurationY,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
}
|
|
38
|
+
unrender() {
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=PControllerInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAE1E,IAAI,CAAC,aAAa,GAAG,WAAW,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{ 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
|
|
@@ -0,0 +1 @@
|
|
|
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;IAYrB,IAAI,IAAI,cAAc;CASxB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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(dbComponent, "PCubeGeometry", "Cube Geometry", node, context);
|
|
9
|
+
this.requireTransform = true;
|
|
10
|
+
this.size = new PVector3(dbComponent.size);
|
|
11
|
+
this.castShadow = dbComponent.castShadow;
|
|
12
|
+
this.receiveShadow = dbComponent.receiveShadow;
|
|
13
|
+
}
|
|
14
|
+
toDB() {
|
|
15
|
+
return {
|
|
16
|
+
...super.toDB(),
|
|
17
|
+
size: this.size,
|
|
18
|
+
castShadow: this.castShadow,
|
|
19
|
+
receiveShadow: this.receiveShadow,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=PCubeGeometry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEpE,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAE7B,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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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_onInteger: IInAction | null;
|
|
9
|
+
inevent_onBoolean: IInAction | null;
|
|
10
|
+
}
|
|
11
|
+
export type { DBDebug };
|
|
12
|
+
export default class PDebug extends PComponent {
|
|
13
|
+
inevent_on: PInAction | null;
|
|
14
|
+
inevent_onNumber: PInAction | null;
|
|
15
|
+
inevent_onInteger: PInAction | null;
|
|
16
|
+
inevent_onBoolean: PInAction | null;
|
|
17
|
+
constructor(dbComponent: DBDebug, node: PNode, context: GameContext);
|
|
18
|
+
toDB(): DBDebug;
|
|
19
|
+
render(): void;
|
|
20
|
+
unrender(): void;
|
|
21
|
+
onDebug: (payloadValue: string | null) => void;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=PDebug.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;IACpC,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;IACpC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;gBAExB,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IA8BnE,IAAI,IAAI,OAAO;IAUf,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;IAEhB,OAAO,GAAI,cAAc,MAAM,GAAG,IAAI,UAEpC;CACH"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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_onInteger;
|
|
8
|
+
inevent_onBoolean;
|
|
9
|
+
constructor(dbComponent, node, context) {
|
|
10
|
+
super(dbComponent, "PDebug", "Debug", node, context);
|
|
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
|
+
this.inevent_onInteger = node.registerInAction("Debug Integer", dbComponent.inevent_onInteger, this.onDebug, DataType.Integer);
|
|
15
|
+
}
|
|
16
|
+
toDB() {
|
|
17
|
+
return {
|
|
18
|
+
...super.toDB(),
|
|
19
|
+
inevent_on: PInAction.toDB(this.inevent_on),
|
|
20
|
+
inevent_onNumber: PInAction.toDB(this.inevent_onNumber),
|
|
21
|
+
inevent_onBoolean: PInAction.toDB(this.inevent_onBoolean),
|
|
22
|
+
inevent_onInteger: PInAction.toDB(this.inevent_onInteger),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
render() { }
|
|
26
|
+
unrender() { }
|
|
27
|
+
onDebug = (payloadValue) => {
|
|
28
|
+
console.log("[PDebug][" + this.node.name + "]", payloadValue);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=PDebug.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAYrC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,UAAU;IAC5C,UAAU,CAAmB;IAC7B,gBAAgB,CAAmB;IACnC,iBAAiB,CAAmB;IACpC,iBAAiB,CAAmB;IAEpC,YAAY,WAAoB,EAAE,IAAW,EAAE,OAAoB;QACjE,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAErD,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;QAEF,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAC5C,eAAe,EACf,WAAW,CAAC,iBAAiB,EAC7B,IAAI,CAAC,OAAO,EACZ,QAAQ,CAAC,OAAO,CACjB,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,gBAAgB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACvD,iBAAiB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACzD,iBAAiB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;SAC1D,CAAC;IACJ,CAAC;IAED,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;IAEnB,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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import GameContext from "../GameContext";
|
|
2
|
+
import PNode from "../PNode";
|
|
3
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
4
|
+
interface DBEnvironment extends DBComponent {
|
|
5
|
+
value: number;
|
|
6
|
+
rotation: number;
|
|
7
|
+
intensity: number;
|
|
8
|
+
blur: number;
|
|
9
|
+
background: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type { DBEnvironment };
|
|
12
|
+
export default abstract class PEnvironment extends PComponent {
|
|
13
|
+
_cacheKey: number;
|
|
14
|
+
value: number;
|
|
15
|
+
rotation: number;
|
|
16
|
+
intensity: number;
|
|
17
|
+
blur: number;
|
|
18
|
+
background: boolean;
|
|
19
|
+
protected _urls: string[][];
|
|
20
|
+
protected _three: string[];
|
|
21
|
+
constructor(dbComponent: DBEnvironment, node: PNode, context: GameContext);
|
|
22
|
+
toDB(): DBEnvironment;
|
|
23
|
+
abstract getTexture<T>(): T | null;
|
|
24
|
+
abstract _dispose(): void;
|
|
25
|
+
unrender(): void;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=PEnvironment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,UAAU,aAAc,SAAQ,WAAW;IAEzC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,YAAa,SAAQ,UAAU;IAE3D,SAAS,SAAK;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAOzB;IAEF,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,CAAM;gBAEpB,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAazE,IAAI,IAAI,aAAa;IAYrB,QAAQ,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI;IAWlC,QAAQ,CAAC,QAAQ,IAAI,IAAI;IAEzB,QAAQ;CAGT"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
export default class PEnvironment extends PComponent {
|
|
3
|
+
//file_texture: PFile | null;
|
|
4
|
+
_cacheKey = 0;
|
|
5
|
+
value;
|
|
6
|
+
rotation;
|
|
7
|
+
intensity;
|
|
8
|
+
blur;
|
|
9
|
+
background;
|
|
10
|
+
_urls = [
|
|
11
|
+
[
|
|
12
|
+
"https://p100-pw.s3.eu-north-1.amazonaws.com/697618e47ec1cd94f1ddb4e6/IndustrialRoom.hdr",
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
"https://p100-pw.s3.eu-north-1.amazonaws.com/697618e37ec1cd94f1ddb4e5/IndustrialRoom.env",
|
|
16
|
+
],
|
|
17
|
+
];
|
|
18
|
+
_three = [];
|
|
19
|
+
constructor(dbComponent, node, context) {
|
|
20
|
+
super(dbComponent, "PEnvironment", "Environment", node, context);
|
|
21
|
+
//this.file_texture = this.context.requestFile(dbComponent.file_texture);
|
|
22
|
+
this.value = dbComponent.value || 0;
|
|
23
|
+
this.rotation = dbComponent.rotation;
|
|
24
|
+
this.intensity = dbComponent.intensity;
|
|
25
|
+
this.background = dbComponent.background;
|
|
26
|
+
this.blur = dbComponent.blur || 0;
|
|
27
|
+
}
|
|
28
|
+
toDB() {
|
|
29
|
+
return {
|
|
30
|
+
...super.toDB(),
|
|
31
|
+
//file_texture: this.file_texture !== null ? this.file_texture._id : null,
|
|
32
|
+
rotation: this.rotation,
|
|
33
|
+
intensity: this.intensity,
|
|
34
|
+
background: this.background,
|
|
35
|
+
blur: this.blur,
|
|
36
|
+
value: this.value,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
unrender() {
|
|
40
|
+
this._dispose();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=PEnvironment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PEnvironment.js","sourceRoot":"","sources":["../../src/pcomponents/PEnvironment.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AAaxD,MAAM,CAAC,OAAO,OAAgB,YAAa,SAAQ,UAAU;IAC3D,6BAA6B;IAC7B,SAAS,GAAG,CAAC,CAAC;IAEd,KAAK,CAAS;IAEd,QAAQ,CAAS;IACjB,SAAS,CAAS;IAClB,IAAI,CAAS;IACb,UAAU,CAAU;IAEV,KAAK,GAAe;QAC5B;YACE,yFAAyF;SAC1F;QACD;YACE,yFAAyF;SAC1F;KACF,CAAC;IAEQ,MAAM,GAAa,EAAE,CAAC;IAEhC,YAAY,WAA0B,EAAE,IAAW,EAAE,OAAoB;QACvE,KAAK,CAAC,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEjE,yEAAyE;QAEzE,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,IAAI,CAAC,CAAC;QAEpC,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,0EAA0E;YAC1E,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;IACJ,CAAC;IAeD,QAAQ;QACN,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
}
|
|
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IAAI;IAeJ,iBAAiB,aA4Bf;IAEF,kBAAkB,aAyBhB;CACH"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
import { PInAction, POutAction } from "../PAction";
|
|
3
|
+
import { Easing, Tween } from "@tweenjs/tween.js";
|
|
4
|
+
export default class PFadeAnimation extends PComponent {
|
|
5
|
+
inevent_fadeInOn;
|
|
6
|
+
inevent_fadeOutOn;
|
|
7
|
+
outevent_onFadeOut;
|
|
8
|
+
outevent_onFadeIn;
|
|
9
|
+
duration = 1000;
|
|
10
|
+
_tween = null;
|
|
11
|
+
_maxValue = 1.0;
|
|
12
|
+
constructor(dbComponent, node, context) {
|
|
13
|
+
super(dbComponent, "PFadeAnimation", "Fade Animation", node, context);
|
|
14
|
+
this.requireTransform = true;
|
|
15
|
+
this.inevent_fadeInOn = node.registerInAction("Fade In", dbComponent.inevent_fadeInOn, this.callback_onFadeIn);
|
|
16
|
+
this.inevent_fadeOutOn = node.registerInAction("Fade Out", dbComponent.inevent_fadeOutOn, this.callback_onFadeOut);
|
|
17
|
+
this.outevent_onFadeOut = node.registerOutAction(dbComponent.outevent_onFadeOut);
|
|
18
|
+
this.outevent_onFadeIn = node.registerOutAction(dbComponent.outevent_onFadeIn);
|
|
19
|
+
this.duration = dbComponent.duration;
|
|
20
|
+
}
|
|
21
|
+
toDB() {
|
|
22
|
+
return {
|
|
23
|
+
...super.toDB(),
|
|
24
|
+
inevent_fadeInOn: PInAction.toDB(this.inevent_fadeInOn),
|
|
25
|
+
inevent_fadeOutOn: PInAction.toDB(this.inevent_fadeOutOn),
|
|
26
|
+
duration: this.duration,
|
|
27
|
+
outevent_onFadeOut: POutAction.toDB(this.outevent_onFadeOut),
|
|
28
|
+
outevent_onFadeIn: POutAction.toDB(this.outevent_onFadeIn),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
render() { }
|
|
32
|
+
unrender() {
|
|
33
|
+
if (this._tween !== null) {
|
|
34
|
+
this._tween.stop();
|
|
35
|
+
this._tween = null;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
play() {
|
|
39
|
+
if (!this.node.hasEl())
|
|
40
|
+
return;
|
|
41
|
+
const material = this.context.getNodeRenderer().getIMaterial(this.node);
|
|
42
|
+
if (material === null)
|
|
43
|
+
return;
|
|
44
|
+
this._maxValue = material.opacity;
|
|
45
|
+
if (this.node.isVisible()) {
|
|
46
|
+
material.opacity = this._maxValue;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
material.opacity = 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
callback_onFadeIn = () => {
|
|
53
|
+
console.log('callback_onFadeIn: ');
|
|
54
|
+
if (!this.node.isRunning() || !this.node.hasEl()) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
if (this._tween !== null) {
|
|
58
|
+
this._tween.stop();
|
|
59
|
+
this._tween = null;
|
|
60
|
+
}
|
|
61
|
+
const material = this.context.getNodeRenderer().getIMaterial(this.node);
|
|
62
|
+
console.log('material: ', material);
|
|
63
|
+
const distance = this._maxValue - material.opacity;
|
|
64
|
+
this.node.setVisible(true);
|
|
65
|
+
this._tween = new Tween(material)
|
|
66
|
+
.easing(Easing.Quadratic.InOut)
|
|
67
|
+
.to({ opacity: this._maxValue }, this.duration * distance)
|
|
68
|
+
.start()
|
|
69
|
+
.onComplete(() => {
|
|
70
|
+
console.log("ok...");
|
|
71
|
+
this._tween = null;
|
|
72
|
+
this.outevent_onFadeIn?.emit(null, this);
|
|
73
|
+
});
|
|
74
|
+
this.context.addTween(this._tween);
|
|
75
|
+
};
|
|
76
|
+
callback_onFadeOut = () => {
|
|
77
|
+
if (!this.node.isRunning() || !this.node.hasEl()) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (this._tween !== null) {
|
|
81
|
+
this._tween.stop();
|
|
82
|
+
this._tween = null;
|
|
83
|
+
}
|
|
84
|
+
const material = this.context.getNodeRenderer().getIMaterial(this.node);
|
|
85
|
+
const distance = this._maxValue - (this._maxValue - material.opacity);
|
|
86
|
+
this._tween = new Tween(material)
|
|
87
|
+
.easing(Easing.Quadratic.InOut)
|
|
88
|
+
.to({ opacity: 0 }, this.duration * distance)
|
|
89
|
+
.start()
|
|
90
|
+
.onComplete(() => {
|
|
91
|
+
this._tween = null;
|
|
92
|
+
this.node.setVisible(false);
|
|
93
|
+
this.outevent_onFadeOut?.emit(null, this);
|
|
94
|
+
});
|
|
95
|
+
this.context.addTween(this._tween);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=PFadeAnimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PFadeAnimation.js","sourceRoot":"","sources":["../../src/pcomponents/PFadeAnimation.ts"],"names":[],"mappings":"AAAA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG1E,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAalD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,gBAAgB,CAAmB;IACnC,iBAAiB,CAAmB;IAEpC,kBAAkB,CAAoB;IACtC,iBAAiB,CAAoB;IAErC,QAAQ,GAAG,IAAI,CAAC;IAEN,MAAM,GAAsB,IAAI,CAAC;IACjC,SAAS,GAAW,GAAG,CAAC;IAElC,YAAY,WAA4B,EAAE,IAAW,EAAE,OAAoB;QACzE,KAAK,CAAC,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEtE,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAE7B,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAC3C,SAAS,EACT,WAAW,CAAC,gBAAgB,EAC5B,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,IAA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CAAC,CAAC,CAAC;QACL,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC,CAAC;CACH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import GameContext from "../GameContext";
|
|
2
|
+
import PNode from "../PNode";
|
|
3
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
4
|
+
interface DBHud extends DBComponent {
|
|
5
|
+
}
|
|
6
|
+
export type { DBHud };
|
|
7
|
+
export default class PHud extends PComponent {
|
|
8
|
+
constructor(dbComponent: DBHud, node: PNode, context: GameContext);
|
|
9
|
+
render(): void;
|
|
10
|
+
unrender(): void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=PHud.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PHud.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PHud.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;AAExD,UAAU,KAAM,SAAQ,WAAW;CAAG;AAEtC,YAAY,EAAE,KAAK,EAAE,CAAC;AAEtB,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,UAAU;gBAC9B,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAMjE,MAAM;IAIN,QAAQ,IAAI,IAAI;CACjB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
export default class PHud extends PComponent {
|
|
3
|
+
constructor(dbComponent, node, context) {
|
|
4
|
+
super(dbComponent, "PHud", "Hud", node, context);
|
|
5
|
+
this.requireTransform = true;
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
this.context.getNodeRenderer().addToCamera(this.node);
|
|
9
|
+
}
|
|
10
|
+
unrender() { }
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=PHud.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PHud.js","sourceRoot":"","sources":["../../src/pcomponents/PHud.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AAMxD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,UAAU;IAC1C,YAAY,WAAkB,EAAE,IAAW,EAAE,OAAoB;QAC/D,KAAK,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEjD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC/B,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;IAED,QAAQ,KAAU,CAAC;CACpB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import GameContext from "../GameContext";
|
|
2
|
+
import PNode from "../PNode";
|
|
3
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
4
|
+
import PFile from "../media/PFile";
|
|
5
|
+
interface DBImageCache extends DBComponent {
|
|
6
|
+
files_textures: (string | null)[] | null;
|
|
7
|
+
size: number;
|
|
8
|
+
}
|
|
9
|
+
export type { DBImageCache };
|
|
10
|
+
export default abstract class PImageCache extends PComponent {
|
|
11
|
+
size: number;
|
|
12
|
+
files_textures: (PFile | null)[];
|
|
13
|
+
constructor(dbComponent: DBImageCache, node: PNode, context: GameContext);
|
|
14
|
+
toDB(): DBImageCache;
|
|
15
|
+
dispose(): void;
|
|
16
|
+
editor_setFile(_index: number, _file: string | null): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=PImageCache.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PImageCache.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PImageCache.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,KAAK,MAAM,gBAAgB,CAAC;AAEnC,UAAU,YAAa,SAAQ,WAAW;IACxC,cAAc,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,WAAY,SAAQ,UAAU;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC;gBAErB,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAgBxE,IAAI,IAAI,YAAY;IAepB,OAAO;IAWP,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;CACpD"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
export default class PImageCache extends PComponent {
|
|
3
|
+
size;
|
|
4
|
+
files_textures;
|
|
5
|
+
constructor(dbComponent, node, context) {
|
|
6
|
+
super(dbComponent, "PImageCache", "Image Cache", node, context);
|
|
7
|
+
this.size = dbComponent.size || 0;
|
|
8
|
+
this.files_textures = new Array(this.size);
|
|
9
|
+
const dbList = dbComponent.files_textures;
|
|
10
|
+
const inArray = dbList || new Array(this.size);
|
|
11
|
+
for (let i = 0; i < this.size; i++) {
|
|
12
|
+
const dbValue = inArray[i];
|
|
13
|
+
if (dbValue)
|
|
14
|
+
this.files_textures[i] = this.context.requestFile(dbValue);
|
|
15
|
+
else
|
|
16
|
+
this.files_textures[i] = null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
toDB() {
|
|
20
|
+
const fileIds = this.files_textures
|
|
21
|
+
.filter((f) => f !== null)
|
|
22
|
+
.map((f) => f._id);
|
|
23
|
+
return {
|
|
24
|
+
...super.toDB(),
|
|
25
|
+
files_textures: fileIds,
|
|
26
|
+
size: fileIds.length,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//
|
|
30
|
+
// LIFE CYCLE
|
|
31
|
+
//
|
|
32
|
+
dispose() {
|
|
33
|
+
// Release files
|
|
34
|
+
for (const file of this.files_textures) {
|
|
35
|
+
if (file)
|
|
36
|
+
this.context.releaseFile(file);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//
|
|
40
|
+
// EDITOR
|
|
41
|
+
//
|
|
42
|
+
editor_setFile(_index, _file) { }
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=PImageCache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PImageCache.js","sourceRoot":"","sources":["../../src/pcomponents/PImageCache.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AAUxD,MAAM,CAAC,OAAO,OAAgB,WAAY,SAAQ,UAAU;IAC1D,IAAI,CAAS;IACb,cAAc,CAAmB;IAEjC,YAAY,WAAyB,EAAE,IAAW,EAAE,OAAoB;QACtE,KAAK,CAAC,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEhE,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC;QAElC,IAAI,CAAC,cAAc,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE3C,MAAM,MAAM,GAAG,WAAW,CAAC,cAAc,CAAC;QAC1C,MAAM,OAAO,GAAG,MAAM,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/C,KAAK,IAAI,CAAC,G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