@p100-web/core 100.0.61
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/index.d.ts +136 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +101 -0
- package/dist/index.js.map +1 -0
- package/dist/src/AdaptivePerformance.d.ts +20 -0
- package/dist/src/AdaptivePerformance.d.ts.map +1 -0
- package/dist/src/AdaptivePerformance.js +110 -0
- package/dist/src/AdaptivePerformance.js.map +1 -0
- package/dist/src/DBEvent.d.ts +22 -0
- package/dist/src/DBEvent.d.ts.map +1 -0
- package/dist/src/DBEvent.js +19 -0
- package/dist/src/DBEvent.js.map +1 -0
- package/dist/src/DBNode.d.ts +33 -0
- package/dist/src/DBNode.d.ts.map +1 -0
- package/dist/src/DBNode.js +31 -0
- package/dist/src/DBNode.js.map +1 -0
- package/dist/src/DBScene.d.ts +11 -0
- package/dist/src/DBScene.d.ts.map +1 -0
- package/dist/src/DBScene.js +9 -0
- package/dist/src/DBScene.js.map +1 -0
- package/dist/src/DBVariable.d.ts +22 -0
- package/dist/src/DBVariable.d.ts.map +1 -0
- package/dist/src/DBVariable.js +19 -0
- package/dist/src/DBVariable.js.map +1 -0
- package/dist/src/DevTools.d.ts +4 -0
- package/dist/src/DevTools.d.ts.map +1 -0
- package/dist/src/DevTools.js +10 -0
- package/dist/src/DevTools.js.map +1 -0
- package/dist/src/GameContext.d.ts +179 -0
- package/dist/src/GameContext.d.ts.map +1 -0
- package/dist/src/GameContext.js +594 -0
- package/dist/src/GameContext.js.map +1 -0
- package/dist/src/IAudioListener.d.ts +4 -0
- package/dist/src/IAudioListener.d.ts.map +1 -0
- package/dist/src/IAudioListener.js +2 -0
- package/dist/src/IAudioListener.js.map +1 -0
- package/dist/src/ICameraControls.d.ts +14 -0
- package/dist/src/ICameraControls.d.ts.map +1 -0
- package/dist/src/ICameraControls.js +2 -0
- package/dist/src/ICameraControls.js.map +1 -0
- package/dist/src/ICameraNode.d.ts +6 -0
- package/dist/src/ICameraNode.d.ts.map +1 -0
- package/dist/src/ICameraNode.js +2 -0
- package/dist/src/ICameraNode.js.map +1 -0
- package/dist/src/IComponentFactory.d.ts +8 -0
- package/dist/src/IComponentFactory.d.ts.map +1 -0
- package/dist/src/IComponentFactory.js +2 -0
- package/dist/src/IComponentFactory.js.map +1 -0
- package/dist/src/IEngine.d.ts +26 -0
- package/dist/src/IEngine.d.ts.map +1 -0
- package/dist/src/IEngine.js +2 -0
- package/dist/src/IEngine.js.map +1 -0
- package/dist/src/IMaterial.d.ts +5 -0
- package/dist/src/IMaterial.d.ts.map +1 -0
- package/dist/src/IMaterial.js +2 -0
- package/dist/src/IMaterial.js.map +1 -0
- package/dist/src/IPCanvas.d.ts +45 -0
- package/dist/src/IPCanvas.d.ts.map +1 -0
- package/dist/src/IPCanvas.js +2 -0
- package/dist/src/IPCanvas.js.map +1 -0
- package/dist/src/IPNodeRenderer.d.ts +23 -0
- package/dist/src/IPNodeRenderer.d.ts.map +1 -0
- package/dist/src/IPNodeRenderer.js +2 -0
- package/dist/src/IPNodeRenderer.js.map +1 -0
- package/dist/src/IStats.d.ts +9 -0
- package/dist/src/IStats.d.ts.map +1 -0
- package/dist/src/IStats.js +3 -0
- package/dist/src/IStats.js.map +1 -0
- package/dist/src/MathTools.d.ts +4 -0
- package/dist/src/MathTools.d.ts.map +1 -0
- package/dist/src/MathTools.js +7 -0
- package/dist/src/MathTools.js.map +1 -0
- package/dist/src/PAction.d.ts +64 -0
- package/dist/src/PAction.d.ts.map +1 -0
- package/dist/src/PAction.js +209 -0
- package/dist/src/PAction.js.map +1 -0
- package/dist/src/PComponent.d.ts +60 -0
- package/dist/src/PComponent.d.ts.map +1 -0
- package/dist/src/PComponent.js +44 -0
- package/dist/src/PComponent.js.map +1 -0
- package/dist/src/PEnums.d.ts +98 -0
- package/dist/src/PEnums.d.ts.map +1 -0
- package/dist/src/PEnums.js +110 -0
- package/dist/src/PEnums.js.map +1 -0
- package/dist/src/PEvent.d.ts +27 -0
- package/dist/src/PEvent.d.ts.map +1 -0
- package/dist/src/PEvent.js +40 -0
- package/dist/src/PEvent.js.map +1 -0
- package/dist/src/PNode.d.ts +111 -0
- package/dist/src/PNode.d.ts.map +1 -0
- package/dist/src/PNode.js +488 -0
- package/dist/src/PNode.js.map +1 -0
- package/dist/src/PPayload.d.ts +7 -0
- package/dist/src/PPayload.d.ts.map +1 -0
- package/dist/src/PPayload.js +19 -0
- package/dist/src/PPayload.js.map +1 -0
- package/dist/src/PTypes.d.ts +140 -0
- package/dist/src/PTypes.d.ts.map +1 -0
- package/dist/src/PTypes.js +2 -0
- package/dist/src/PTypes.js.map +1 -0
- package/dist/src/PVariable.d.ts +29 -0
- package/dist/src/PVariable.d.ts.map +1 -0
- package/dist/src/PVariable.js +51 -0
- package/dist/src/PVariable.js.map +1 -0
- package/dist/src/PVector2.d.ts +14 -0
- package/dist/src/PVector2.d.ts.map +1 -0
- package/dist/src/PVector2.js +25 -0
- package/dist/src/PVector2.js.map +1 -0
- package/dist/src/PVector3.d.ts +17 -0
- package/dist/src/PVector3.d.ts.map +1 -0
- package/dist/src/PVector3.js +36 -0
- package/dist/src/PVector3.js.map +1 -0
- package/dist/src/animations/IAnimationAction.d.ts +9 -0
- package/dist/src/animations/IAnimationAction.d.ts.map +1 -0
- package/dist/src/animations/IAnimationAction.js +2 -0
- package/dist/src/animations/IAnimationAction.js.map +1 -0
- package/dist/src/animations/IAnimationClip.d.ts +5 -0
- package/dist/src/animations/IAnimationClip.d.ts.map +1 -0
- package/dist/src/animations/IAnimationClip.js +2 -0
- package/dist/src/animations/IAnimationClip.js.map +1 -0
- package/dist/src/animations/IAnimationMixer.d.ts +7 -0
- package/dist/src/animations/IAnimationMixer.d.ts.map +1 -0
- package/dist/src/animations/IAnimationMixer.js +2 -0
- package/dist/src/animations/IAnimationMixer.js.map +1 -0
- package/dist/src/media/IMediaLoader.d.ts +31 -0
- package/dist/src/media/IMediaLoader.d.ts.map +1 -0
- package/dist/src/media/IMediaLoader.js +2 -0
- package/dist/src/media/IMediaLoader.js.map +1 -0
- package/dist/src/media/MediaManager.d.ts +17 -0
- package/dist/src/media/MediaManager.d.ts.map +1 -0
- package/dist/src/media/MediaManager.js +19 -0
- package/dist/src/media/MediaManager.js.map +1 -0
- package/dist/src/media/PFile.d.ts +13 -0
- package/dist/src/media/PFile.d.ts.map +1 -0
- package/dist/src/media/PFile.js +28 -0
- package/dist/src/media/PFile.js.map +1 -0
- package/dist/src/pcomponents/BaseBackground.d.ts +27 -0
- package/dist/src/pcomponents/BaseBackground.d.ts.map +1 -0
- package/dist/src/pcomponents/BaseBackground.js +21 -0
- package/dist/src/pcomponents/BaseBackground.js.map +1 -0
- package/dist/src/pcomponents/BaseMaterial.d.ts +45 -0
- package/dist/src/pcomponents/BaseMaterial.d.ts.map +1 -0
- package/dist/src/pcomponents/BaseMaterial.js +47 -0
- package/dist/src/pcomponents/BaseMaterial.js.map +1 -0
- package/dist/src/pcomponents/PAnimator.d.ts +37 -0
- package/dist/src/pcomponents/PAnimator.d.ts.map +1 -0
- package/dist/src/pcomponents/PAnimator.js +43 -0
- package/dist/src/pcomponents/PAnimator.js.map +1 -0
- package/dist/src/pcomponents/PBasicMaterial.d.ts +23 -0
- package/dist/src/pcomponents/PBasicMaterial.d.ts.map +1 -0
- package/dist/src/pcomponents/PBasicMaterial.js +38 -0
- package/dist/src/pcomponents/PBasicMaterial.js.map +1 -0
- package/dist/src/pcomponents/PCallAction.d.ts +19 -0
- package/dist/src/pcomponents/PCallAction.d.ts.map +1 -0
- package/dist/src/pcomponents/PCallAction.js +25 -0
- package/dist/src/pcomponents/PCallAction.js.map +1 -0
- package/dist/src/pcomponents/PCallActions.d.ts +24 -0
- package/dist/src/pcomponents/PCallActions.d.ts.map +1 -0
- package/dist/src/pcomponents/PCallActions.js +38 -0
- package/dist/src/pcomponents/PCallActions.js.map +1 -0
- package/dist/src/pcomponents/PCameraPosition.d.ts +29 -0
- package/dist/src/pcomponents/PCameraPosition.d.ts.map +1 -0
- package/dist/src/pcomponents/PCameraPosition.js +76 -0
- package/dist/src/pcomponents/PCameraPosition.js.map +1 -0
- package/dist/src/pcomponents/PCameraTarget.d.ts +29 -0
- package/dist/src/pcomponents/PCameraTarget.d.ts.map +1 -0
- package/dist/src/pcomponents/PCameraTarget.js +77 -0
- package/dist/src/pcomponents/PCameraTarget.js.map +1 -0
- package/dist/src/pcomponents/PCollider.d.ts +39 -0
- package/dist/src/pcomponents/PCollider.d.ts.map +1 -0
- package/dist/src/pcomponents/PCollider.js +56 -0
- package/dist/src/pcomponents/PCollider.js.map +1 -0
- package/dist/src/pcomponents/PCompareBoolean.d.ts +23 -0
- package/dist/src/pcomponents/PCompareBoolean.d.ts.map +1 -0
- package/dist/src/pcomponents/PCompareBoolean.js +39 -0
- package/dist/src/pcomponents/PCompareBoolean.js.map +1 -0
- package/dist/src/pcomponents/PCompareNumber.d.ts +25 -0
- package/dist/src/pcomponents/PCompareNumber.d.ts.map +1 -0
- package/dist/src/pcomponents/PCompareNumber.js +45 -0
- package/dist/src/pcomponents/PCompareNumber.js.map +1 -0
- package/dist/src/pcomponents/PCompareString.d.ts +25 -0
- package/dist/src/pcomponents/PCompareString.d.ts.map +1 -0
- package/dist/src/pcomponents/PCompareString.js +43 -0
- package/dist/src/pcomponents/PCompareString.js.map +1 -0
- package/dist/src/pcomponents/PCompareVariable.d.ts +28 -0
- package/dist/src/pcomponents/PCompareVariable.d.ts.map +1 -0
- package/dist/src/pcomponents/PCompareVariable.js +51 -0
- package/dist/src/pcomponents/PCompareVariable.js.map +1 -0
- package/dist/src/pcomponents/PControllerInput.d.ts +30 -0
- package/dist/src/pcomponents/PControllerInput.d.ts.map +1 -0
- package/dist/src/pcomponents/PControllerInput.js +42 -0
- package/dist/src/pcomponents/PControllerInput.js.map +1 -0
- package/dist/src/pcomponents/PCubeGeometry.d.ts +18 -0
- package/dist/src/pcomponents/PCubeGeometry.d.ts.map +1 -0
- package/dist/src/pcomponents/PCubeGeometry.js +22 -0
- package/dist/src/pcomponents/PCubeGeometry.js.map +1 -0
- package/dist/src/pcomponents/PDebug.d.ts +21 -0
- package/dist/src/pcomponents/PDebug.d.ts.map +1 -0
- package/dist/src/pcomponents/PDebug.js +31 -0
- package/dist/src/pcomponents/PDebug.js.map +1 -0
- package/dist/src/pcomponents/PEnvironment.d.ts +28 -0
- package/dist/src/pcomponents/PEnvironment.d.ts.map +1 -0
- package/dist/src/pcomponents/PEnvironment.js +44 -0
- package/dist/src/pcomponents/PEnvironment.js.map +1 -0
- package/dist/src/pcomponents/PFadeAnimation.d.ts +30 -0
- package/dist/src/pcomponents/PFadeAnimation.d.ts.map +1 -0
- package/dist/src/pcomponents/PFadeAnimation.js +94 -0
- package/dist/src/pcomponents/PFadeAnimation.js.map +1 -0
- package/dist/src/pcomponents/PHud.d.ts +12 -0
- package/dist/src/pcomponents/PHud.d.ts.map +1 -0
- package/dist/src/pcomponents/PHud.js +12 -0
- package/dist/src/pcomponents/PHud.js.map +1 -0
- package/dist/src/pcomponents/PImageBackground.d.ts +13 -0
- package/dist/src/pcomponents/PImageBackground.d.ts.map +1 -0
- package/dist/src/pcomponents/PImageBackground.js +18 -0
- package/dist/src/pcomponents/PImageBackground.js.map +1 -0
- package/dist/src/pcomponents/PImageCache.d.ts +22 -0
- package/dist/src/pcomponents/PImageCache.d.ts.map +1 -0
- package/dist/src/pcomponents/PImageCache.js +69 -0
- package/dist/src/pcomponents/PImageCache.js.map +1 -0
- package/dist/src/pcomponents/PImageDetector.d.ts +28 -0
- package/dist/src/pcomponents/PImageDetector.d.ts.map +1 -0
- package/dist/src/pcomponents/PImageDetector.js +38 -0
- package/dist/src/pcomponents/PImageDetector.js.map +1 -0
- package/dist/src/pcomponents/PLight.d.ts +15 -0
- package/dist/src/pcomponents/PLight.d.ts.map +1 -0
- package/dist/src/pcomponents/PLight.js +18 -0
- package/dist/src/pcomponents/PLight.js.map +1 -0
- package/dist/src/pcomponents/PLightDirectional.d.ts +19 -0
- package/dist/src/pcomponents/PLightDirectional.d.ts.map +1 -0
- package/dist/src/pcomponents/PLightDirectional.js +24 -0
- package/dist/src/pcomponents/PLightDirectional.js.map +1 -0
- package/dist/src/pcomponents/PMaskedMaterial.d.ts +20 -0
- package/dist/src/pcomponents/PMaskedMaterial.d.ts.map +1 -0
- package/dist/src/pcomponents/PMaskedMaterial.js +35 -0
- package/dist/src/pcomponents/PMaskedMaterial.js.map +1 -0
- package/dist/src/pcomponents/PModelGLTF.d.ts +33 -0
- package/dist/src/pcomponents/PModelGLTF.d.ts.map +1 -0
- package/dist/src/pcomponents/PModelGLTF.js +53 -0
- package/dist/src/pcomponents/PModelGLTF.js.map +1 -0
- package/dist/src/pcomponents/PMoveAnimation.d.ts +22 -0
- package/dist/src/pcomponents/PMoveAnimation.d.ts.map +1 -0
- package/dist/src/pcomponents/PMoveAnimation.js +44 -0
- package/dist/src/pcomponents/PMoveAnimation.js.map +1 -0
- package/dist/src/pcomponents/PMoveToAnimation.d.ts +26 -0
- package/dist/src/pcomponents/PMoveToAnimation.d.ts.map +1 -0
- package/dist/src/pcomponents/PMoveToAnimation.js +79 -0
- package/dist/src/pcomponents/PMoveToAnimation.js.map +1 -0
- package/dist/src/pcomponents/PPhysicalMaterial.d.ts +27 -0
- package/dist/src/pcomponents/PPhysicalMaterial.d.ts.map +1 -0
- package/dist/src/pcomponents/PPhysicalMaterial.js +41 -0
- package/dist/src/pcomponents/PPhysicalMaterial.js.map +1 -0
- package/dist/src/pcomponents/PPlaneDetector.d.ts +20 -0
- package/dist/src/pcomponents/PPlaneDetector.d.ts.map +1 -0
- package/dist/src/pcomponents/PPlaneDetector.js +26 -0
- package/dist/src/pcomponents/PPlaneDetector.js.map +1 -0
- package/dist/src/pcomponents/PPlaneGeometry.d.ts +20 -0
- package/dist/src/pcomponents/PPlaneGeometry.d.ts.map +1 -0
- package/dist/src/pcomponents/PPlaneGeometry.js +25 -0
- package/dist/src/pcomponents/PPlaneGeometry.js.map +1 -0
- package/dist/src/pcomponents/PProjectRoot.d.ts +38 -0
- package/dist/src/pcomponents/PProjectRoot.d.ts.map +1 -0
- package/dist/src/pcomponents/PProjectRoot.js +82 -0
- package/dist/src/pcomponents/PProjectRoot.js.map +1 -0
- package/dist/src/pcomponents/PRotateAnimation.d.ts +30 -0
- package/dist/src/pcomponents/PRotateAnimation.d.ts.map +1 -0
- package/dist/src/pcomponents/PRotateAnimation.js +72 -0
- package/dist/src/pcomponents/PRotateAnimation.js.map +1 -0
- package/dist/src/pcomponents/PScaleAnimation.d.ts +28 -0
- package/dist/src/pcomponents/PScaleAnimation.d.ts.map +1 -0
- package/dist/src/pcomponents/PScaleAnimation.js +75 -0
- package/dist/src/pcomponents/PScaleAnimation.js.map +1 -0
- package/dist/src/pcomponents/PSceneContainer.d.ts +22 -0
- package/dist/src/pcomponents/PSceneContainer.d.ts.map +1 -0
- package/dist/src/pcomponents/PSceneContainer.js +50 -0
- package/dist/src/pcomponents/PSceneContainer.js.map +1 -0
- package/dist/src/pcomponents/PSceneRoot.d.ts +16 -0
- package/dist/src/pcomponents/PSceneRoot.d.ts.map +1 -0
- package/dist/src/pcomponents/PSceneRoot.js +22 -0
- package/dist/src/pcomponents/PSceneRoot.js.map +1 -0
- package/dist/src/pcomponents/PSlider.d.ts +28 -0
- package/dist/src/pcomponents/PSlider.d.ts.map +1 -0
- package/dist/src/pcomponents/PSlider.js +37 -0
- package/dist/src/pcomponents/PSlider.js.map +1 -0
- package/dist/src/pcomponents/PSound.d.ts +34 -0
- package/dist/src/pcomponents/PSound.d.ts.map +1 -0
- package/dist/src/pcomponents/PSound.js +44 -0
- package/dist/src/pcomponents/PSound.js.map +1 -0
- package/dist/src/pcomponents/PSphereGeometry.d.ts +19 -0
- package/dist/src/pcomponents/PSphereGeometry.d.ts.map +1 -0
- package/dist/src/pcomponents/PSphereGeometry.js +24 -0
- package/dist/src/pcomponents/PSphereGeometry.js.map +1 -0
- package/dist/src/pcomponents/PSprite.d.ts +19 -0
- package/dist/src/pcomponents/PSprite.d.ts.map +1 -0
- package/dist/src/pcomponents/PSprite.js +26 -0
- package/dist/src/pcomponents/PSprite.js.map +1 -0
- package/dist/src/pcomponents/PSpriteAnimation.d.ts +25 -0
- package/dist/src/pcomponents/PSpriteAnimation.d.ts.map +1 -0
- package/dist/src/pcomponents/PSpriteAnimation.js +29 -0
- package/dist/src/pcomponents/PSpriteAnimation.js.map +1 -0
- package/dist/src/pcomponents/PText.d.ts +35 -0
- package/dist/src/pcomponents/PText.d.ts.map +1 -0
- package/dist/src/pcomponents/PText.js +48 -0
- package/dist/src/pcomponents/PText.js.map +1 -0
- package/dist/src/pcomponents/PTransform.d.ts +22 -0
- package/dist/src/pcomponents/PTransform.d.ts.map +1 -0
- package/dist/src/pcomponents/PTransform.js +37 -0
- package/dist/src/pcomponents/PTransform.js.map +1 -0
- package/dist/src/pcomponents/PVarList.d.ts +26 -0
- package/dist/src/pcomponents/PVarList.d.ts.map +1 -0
- package/dist/src/pcomponents/PVarList.js +52 -0
- package/dist/src/pcomponents/PVarList.js.map +1 -0
- package/dist/src/pcomponents/PVarReader.d.ts +19 -0
- package/dist/src/pcomponents/PVarReader.d.ts.map +1 -0
- package/dist/src/pcomponents/PVarReader.js +26 -0
- package/dist/src/pcomponents/PVarReader.js.map +1 -0
- package/dist/src/pcomponents/PVarWriter.d.ts +25 -0
- package/dist/src/pcomponents/PVarWriter.d.ts.map +1 -0
- package/dist/src/pcomponents/PVarWriter.js +46 -0
- package/dist/src/pcomponents/PVarWriter.js.map +1 -0
- package/dist/src/pcomponents/PVideoBackground.d.ts +36 -0
- package/dist/src/pcomponents/PVideoBackground.d.ts.map +1 -0
- package/dist/src/pcomponents/PVideoBackground.js +89 -0
- package/dist/src/pcomponents/PVideoBackground.js.map +1 -0
- package/dist/src/pcomponents/PVideoMaterial.d.ts +26 -0
- package/dist/src/pcomponents/PVideoMaterial.d.ts.map +1 -0
- package/dist/src/pcomponents/PVideoMaterial.js +40 -0
- package/dist/src/pcomponents/PVideoMaterial.js.map +1 -0
- package/dist/src/pcomponents/PVideoPlayer.d.ts +31 -0
- package/dist/src/pcomponents/PVideoPlayer.d.ts.map +1 -0
- package/dist/src/pcomponents/PVideoPlayer.js +70 -0
- package/dist/src/pcomponents/PVideoPlayer.js.map +1 -0
- package/dist/src/pcomponents/PVisibility.d.ts +33 -0
- package/dist/src/pcomponents/PVisibility.d.ts.map +1 -0
- package/dist/src/pcomponents/PVisibility.js +62 -0
- package/dist/src/pcomponents/PVisibility.js.map +1 -0
- package/dist/src/pcomponents/PXRTools.d.ts +32 -0
- package/dist/src/pcomponents/PXRTools.d.ts.map +1 -0
- package/dist/src/pcomponents/PXRTools.js +45 -0
- package/dist/src/pcomponents/PXRTools.js.map +1 -0
- package/dist/src/settings/Settings_Base.d.ts +7 -0
- package/dist/src/settings/Settings_Base.d.ts.map +1 -0
- package/dist/src/settings/Settings_Base.js +18 -0
- package/dist/src/settings/Settings_Base.js.map +1 -0
- package/dist/src/settings/Settings_Threejs.d.ts +9 -0
- package/dist/src/settings/Settings_Threejs.d.ts.map +1 -0
- package/dist/src/settings/Settings_Threejs.js +172 -0
- package/dist/src/settings/Settings_Threejs.js.map +1 -0
- package/package.json +23 -0
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,iBAAi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;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,25 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,OA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BAAgB,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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -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;IA8BtB,IAAI,IAAI,iBAAiB;IAYzB,gBAAgB,GAAI,UAAU,MAAM,GAAG,IAAI,UAWzC;IAEF,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
|
@@ -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,Q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,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"}
|
|
@@ -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;IAwBrB,IAAI,IAAI,iBAAiB;IAe1B,MAAM,IAAI,IAAI;IAId,QAAQ,IAAI,IAAI;CAGjB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
|
@@ -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,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,EAAE,OAAO,CAAC,CAA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18 @@
|
|
|
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
|
|
@@ -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;IAUrB,IAAI,IAAI,cAAc;CASxB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
|
@@ -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,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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -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;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"}
|
|
@@ -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_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
|
|
@@ -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;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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
|
@@ -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,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"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,UAA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AY,CAAC,CAAC;IACrE,CAAC;IAID,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
|
+
}
|
|
30
|
+
//# sourceMappingURL=PFadeAnimation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PFadeAnimation.d.ts","sourceRoot":"","sources":["../../../src/pcomponents/PFadeAnimation.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eA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