@p100-web/core 100.1.1 → 100.1.3
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 GameContext from "../GameContext";
|
|
2
|
+
import PNode from "../PNode";
|
|
3
|
+
import { IOutAction, POutAction } from "../PAction";
|
|
4
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
5
|
+
import PFile from "../media/PFile";
|
|
6
|
+
interface DBImageDetector extends DBComponent {
|
|
7
|
+
file_image: string | null;
|
|
8
|
+
width: number;
|
|
9
|
+
move: boolean;
|
|
10
|
+
rotate: boolean;
|
|
11
|
+
attach: boolean;
|
|
12
|
+
outevent_onDetect: IOutAction | null;
|
|
13
|
+
}
|
|
14
|
+
export type { DBImageDetector };
|
|
15
|
+
export default class PImageDetector extends PComponent {
|
|
16
|
+
file_image: PFile | null;
|
|
17
|
+
width: number;
|
|
18
|
+
move: boolean;
|
|
19
|
+
rotate: boolean;
|
|
20
|
+
attach: boolean;
|
|
21
|
+
outevent_onDetect: POutAction | null;
|
|
22
|
+
constructor(dbComponent: DBImageDetector, node: PNode, context: GameContext);
|
|
23
|
+
toDB(): DBImageDetector;
|
|
24
|
+
dispose(): void;
|
|
25
|
+
render(): void;
|
|
26
|
+
unrender(): void;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=PImageDetector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PImageDetector.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PImageDetector.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;AACxD,OAAO,KAAK,MAAM,gBAAgB,CAAC;AAEnC,UAAU,eAAgB,SAAQ,WAAW;IAC3C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;CACtC;AAED,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,UAAU,EAAE,KAAK,GAAG,IAAI,CAAC;IAEzB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAEhB,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;gBAEzB,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAkB3E,IAAI,IAAI,eAAe;IAYvB,OAAO;IAKP,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { POutAction } from "../PAction";
|
|
2
|
+
import PComponent from "../PComponent";
|
|
3
|
+
export default class PImageDetector extends PComponent {
|
|
4
|
+
file_image;
|
|
5
|
+
width;
|
|
6
|
+
move;
|
|
7
|
+
rotate;
|
|
8
|
+
attach;
|
|
9
|
+
outevent_onDetect;
|
|
10
|
+
constructor(dbComponent, node, context) {
|
|
11
|
+
super(dbComponent, "PImageDetector", "Image Detector", node, context);
|
|
12
|
+
this.requireTransform = true;
|
|
13
|
+
this.file_image = this.context.requestFile(dbComponent.file_image);
|
|
14
|
+
this.width = dbComponent.width;
|
|
15
|
+
this.move = dbComponent.move;
|
|
16
|
+
this.rotate = dbComponent.rotate;
|
|
17
|
+
this.attach = dbComponent.attach;
|
|
18
|
+
this.outevent_onDetect = node.registerOutAction(dbComponent.outevent_onDetect);
|
|
19
|
+
}
|
|
20
|
+
toDB() {
|
|
21
|
+
return {
|
|
22
|
+
...super.toDB(),
|
|
23
|
+
file_image: this.file_image?._id || null,
|
|
24
|
+
outevent_onDetect: POutAction.toDB(this.outevent_onDetect),
|
|
25
|
+
width: this.width,
|
|
26
|
+
move: this.move,
|
|
27
|
+
rotate: this.rotate,
|
|
28
|
+
attach: this.attach,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
dispose() {
|
|
32
|
+
// Release files
|
|
33
|
+
if (this.file_image)
|
|
34
|
+
this.context.releaseFile(this.file_image);
|
|
35
|
+
}
|
|
36
|
+
render() { }
|
|
37
|
+
unrender() { }
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=PImageDetector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PImageDetector.js","sourceRoot":"","sources":["../../src/pcomponents/PImageDetector.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,UAA2B,MAAM,eAAe,CAAC;AAcxD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,UAAU,CAAe;IAEzB,KAAK,CAAS;IAEd,IAAI,CAAU;IACd,MAAM,CAAU;IAChB,MAAM,CAAU;IAEhB,iBAAiB,CAAoB;IAErC,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,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAEnE,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC;QAE/B,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC;QAEjC,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAC7C,WAAW,CAAC,iBAAiB,CAC9B,CAAC;IACJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,GAAG,IAAI,IAAI;YACxC,iBAAiB,EAAE,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YAC1D,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,gBAAgB;QAChB,IAAI,IAAI,CAAC,UAAU;YAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACjE,CAAC;IAED,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 POutValue, { IOutValue } from "../POutValue";
|
|
6
|
+
interface DBInteger extends DBComponent {
|
|
7
|
+
inevent_set: IInAction | null;
|
|
8
|
+
inevent_increase: IInAction | null;
|
|
9
|
+
inevent_decrease: IInAction | null;
|
|
10
|
+
outevent_onChange: IOutAction | null;
|
|
11
|
+
outevent_onIncrease: IOutAction | null;
|
|
12
|
+
outevent_onDecrease: IOutAction | null;
|
|
13
|
+
outvalue_value: IOutValue | null;
|
|
14
|
+
min: number;
|
|
15
|
+
max: number;
|
|
16
|
+
initial: number;
|
|
17
|
+
}
|
|
18
|
+
export type { DBInteger };
|
|
19
|
+
export default class PInteger extends PComponent {
|
|
20
|
+
inevent_set: PInAction | null;
|
|
21
|
+
inevent_increase: PInAction | null;
|
|
22
|
+
inevent_decrease: PInAction | null;
|
|
23
|
+
outevent_onChange: POutAction | null;
|
|
24
|
+
outevent_onIncrease: POutAction | null;
|
|
25
|
+
outevent_onDecrease: POutAction | null;
|
|
26
|
+
outvalue_value: POutValue | null;
|
|
27
|
+
min: number;
|
|
28
|
+
max: number;
|
|
29
|
+
initial: number;
|
|
30
|
+
_value: number;
|
|
31
|
+
constructor(dbComponent: DBInteger, node: PNode, context: GameContext);
|
|
32
|
+
toDB(): DBInteger;
|
|
33
|
+
render(): void;
|
|
34
|
+
unrender(): void;
|
|
35
|
+
callback_onSet: (payload: string | null) => void;
|
|
36
|
+
callback_onIncrease: () => void;
|
|
37
|
+
callback_onDecrease: () => void;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=PInteger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PInteger.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PInteger.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,OAAO,SAAS,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,UAAU,SAAU,SAAQ,WAAW;IACrC,WAAW,EAAE,SAAS,GAAG,IAAI,CAAC;IAC9B,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IAEnC,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC,mBAAmB,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC,mBAAmB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEvC,cAAc,EAAE,SAAS,GAAG,IAAI,CAAC;IAEjC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,UAAU;IAC9C,WAAW,EAAE,SAAS,GAAG,IAAI,CAAC;IAC9B,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC,mBAAmB,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC,mBAAmB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEvC,cAAc,EAAE,SAAS,GAAG,IAAI,CAAC;IAEjC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,MAAM,CAAC;gBAEH,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAiDrE,IAAI,IAAI,SAAS;IAgBjB,MAAM,IAAI,IAAI;IAEd,QAAQ;IAER,cAAc,GAAI,SAAS,MAAM,GAAG,IAAI,UAOtC;IAEF,mBAAmB,aAQjB;IAEF,mBAAmB,aAQjB;CACH"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
import { PInAction, POutAction } from "../PAction";
|
|
3
|
+
import { DataType } from "../PEnums";
|
|
4
|
+
import POutValue from "../POutValue";
|
|
5
|
+
export default class PInteger extends PComponent {
|
|
6
|
+
inevent_set;
|
|
7
|
+
inevent_increase;
|
|
8
|
+
inevent_decrease;
|
|
9
|
+
outevent_onChange;
|
|
10
|
+
outevent_onIncrease;
|
|
11
|
+
outevent_onDecrease;
|
|
12
|
+
outvalue_value;
|
|
13
|
+
min;
|
|
14
|
+
max;
|
|
15
|
+
initial;
|
|
16
|
+
_value;
|
|
17
|
+
constructor(dbComponent, node, context) {
|
|
18
|
+
super(dbComponent, "PInteger", "Integer Variable", node, context);
|
|
19
|
+
this.min = dbComponent.min;
|
|
20
|
+
this.max = dbComponent.max;
|
|
21
|
+
this.initial = dbComponent.initial;
|
|
22
|
+
this._value = this.initial;
|
|
23
|
+
this.inevent_set = node.registerInAction("Set Value", dbComponent.inevent_set, this.callback_onSet, DataType.Integer);
|
|
24
|
+
this.inevent_increase = node.registerInAction("Increase Value", dbComponent.inevent_increase, this.callback_onIncrease);
|
|
25
|
+
this.inevent_decrease = node.registerInAction("Decrease Value", dbComponent.inevent_decrease, this.callback_onDecrease);
|
|
26
|
+
this.outevent_onChange = node.registerOutAction(dbComponent.outevent_onChange, DataType.Integer);
|
|
27
|
+
this.outevent_onIncrease = node.registerOutAction(dbComponent.outevent_onIncrease, DataType.Integer);
|
|
28
|
+
this.outevent_onDecrease = node.registerOutAction(dbComponent.outevent_onDecrease, DataType.Integer);
|
|
29
|
+
this.outvalue_value = node.registerOutValue(dbComponent.outvalue_value, DataType.Integer, this._value.toString());
|
|
30
|
+
}
|
|
31
|
+
toDB() {
|
|
32
|
+
return {
|
|
33
|
+
...super.toDB(),
|
|
34
|
+
inevent_set: PInAction.toDB(this.inevent_set),
|
|
35
|
+
inevent_increase: PInAction.toDB(this.inevent_increase),
|
|
36
|
+
inevent_decrease: PInAction.toDB(this.inevent_decrease),
|
|
37
|
+
outevent_onChange: POutAction.toDB(this.outevent_onChange),
|
|
38
|
+
outevent_onIncrease: POutAction.toDB(this.outevent_onIncrease),
|
|
39
|
+
outevent_onDecrease: POutAction.toDB(this.outevent_onDecrease),
|
|
40
|
+
outvalue_value: POutValue.toDB(this.outvalue_value),
|
|
41
|
+
min: this.min,
|
|
42
|
+
max: this.max,
|
|
43
|
+
initial: this.initial,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
render() { }
|
|
47
|
+
unrender() { }
|
|
48
|
+
callback_onSet = (payload) => {
|
|
49
|
+
const value = parseInt(payload);
|
|
50
|
+
if (value !== this._value) {
|
|
51
|
+
this._value = value;
|
|
52
|
+
this.outvalue_value?.set_value(payload ?? "0");
|
|
53
|
+
this.outevent_onChange?.emit(payload, this);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
callback_onIncrease = () => {
|
|
57
|
+
if (this._value + 1 <= this.max) {
|
|
58
|
+
this._value++;
|
|
59
|
+
const stringValue = this._value.toString();
|
|
60
|
+
this.outvalue_value?.set_value(stringValue ?? "0");
|
|
61
|
+
this.outevent_onIncrease?.emit(stringValue, this);
|
|
62
|
+
this.outevent_onChange?.emit(stringValue, this);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
callback_onDecrease = () => {
|
|
66
|
+
if (this._value - 1 >= this.min) {
|
|
67
|
+
this._value--;
|
|
68
|
+
const stringValue = this._value.toString();
|
|
69
|
+
this.outvalue_value?.set_value(stringValue ?? "0");
|
|
70
|
+
this.outevent_onDecrease?.emit(stringValue, this);
|
|
71
|
+
this.outevent_onChange?.emit(stringValue, this);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=PInteger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PInteger.js","sourceRoot":"","sources":["../../src/pcomponents/PInteger.ts"],"names":[],"mappings":"AAAA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG1E,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,SAAwB,MAAM,cAAc,CAAC;AAmBpD,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,UAAU;IAC9C,WAAW,CAAmB;IAC9B,gBAAgB,CAAmB;IACnC,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,mBAAmB,CAAoB;IACvC,mBAAmB,CAAoB;IAEvC,cAAc,CAAmB;IAEjC,GAAG,CAAS;IACZ,GAAG,CAAS;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E;QACzB,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YAChC,IAAI,CAAC,MAAM,EAAE,CAAC;YACd,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;YAC3C,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,WAAW,IAAI,GAAG,CAAC,CAAC;YACnD,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;YAClD,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAClD,CAAC;IACH,CAAC,CAAC;IAEF,mBAAmB,GAAG,GAAG,EAAE;QACzB,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YAChC,IAAI,CAAC,MAAM,EAAE,CAAC;YACd,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;YAC3C,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,WAAW,IAAI,GAAG,CAAC,CAAC;YACnD,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;YAClD,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAClD,CAAC;IACH,CAAC,CAAC;CACH"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 DBIntegerAnimator extends DBComponent {
|
|
7
|
+
inevent_forward: IInAction | null;
|
|
8
|
+
inevent_backward: IInAction | null;
|
|
9
|
+
inevent_stop: IInAction | null;
|
|
10
|
+
outevent_onChange: IOutAction | null;
|
|
11
|
+
duration: number;
|
|
12
|
+
from: number;
|
|
13
|
+
to: number;
|
|
14
|
+
loop: boolean;
|
|
15
|
+
}
|
|
16
|
+
export type { DBIntegerAnimator };
|
|
17
|
+
export default class PIntegerAnimator extends PComponent {
|
|
18
|
+
inevent_forward: PInAction | null;
|
|
19
|
+
inevent_backward: PInAction | null;
|
|
20
|
+
inevent_stop: PInAction | null;
|
|
21
|
+
outevent_onChange: POutAction | null;
|
|
22
|
+
duration: number;
|
|
23
|
+
from: number;
|
|
24
|
+
to: number;
|
|
25
|
+
loop: boolean;
|
|
26
|
+
protected _tween: Tween<any> | null;
|
|
27
|
+
constructor(dbComponent: DBIntegerAnimator, node: PNode, context: GameContext);
|
|
28
|
+
toDB(): DBIntegerAnimator;
|
|
29
|
+
render(): void;
|
|
30
|
+
unrender(): void;
|
|
31
|
+
private _state;
|
|
32
|
+
callback_onStop: () => void;
|
|
33
|
+
callback_onForward: () => void;
|
|
34
|
+
callback_onBackward: () => void;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=PIntegerAnimator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PIntegerAnimator.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PIntegerAnimator.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;CACf;AACD,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IAErC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IAEd,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAQ;gBAGzC,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IAiCtB,IAAI,IAAI,iBAAiB;IAczB,MAAM,IAAI,IAAI;IAEd,QAAQ;IAOR,OAAO,CAAC,MAAM,CAAgB;IAE9B,eAAe,aAKb;IAEF,kBAAkB,aA2BhB;IAEF,mBAAmB,aA8BjB;CACH"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
import { PInAction, POutAction } from "../PAction";
|
|
3
|
+
import { Tween } from "@tweenjs/tween.js";
|
|
4
|
+
import { DataType } from "../PEnums";
|
|
5
|
+
export default class PIntegerAnimator extends PComponent {
|
|
6
|
+
inevent_forward;
|
|
7
|
+
inevent_backward;
|
|
8
|
+
inevent_stop;
|
|
9
|
+
outevent_onChange;
|
|
10
|
+
duration;
|
|
11
|
+
from;
|
|
12
|
+
to;
|
|
13
|
+
loop;
|
|
14
|
+
_tween = null;
|
|
15
|
+
constructor(dbComponent, node, context) {
|
|
16
|
+
super(dbComponent, "PIntegerAnimator", "Integer Animator", node, context);
|
|
17
|
+
this.duration = dbComponent.duration;
|
|
18
|
+
this.from = dbComponent.from;
|
|
19
|
+
this.to = dbComponent.to;
|
|
20
|
+
this.loop = dbComponent.loop;
|
|
21
|
+
this.inevent_forward = node.registerInAction("Animate Forward", dbComponent.inevent_forward, this.callback_onForward);
|
|
22
|
+
this.inevent_backward = node.registerInAction("Animate Backward", dbComponent.inevent_backward, this.callback_onBackward);
|
|
23
|
+
this.inevent_stop = node.registerInAction("Stop Animation", dbComponent.inevent_stop, this.callback_onStop);
|
|
24
|
+
this.outevent_onChange = node.registerOutAction(dbComponent.outevent_onChange, DataType.Integer);
|
|
25
|
+
}
|
|
26
|
+
toDB() {
|
|
27
|
+
return {
|
|
28
|
+
...super.toDB(),
|
|
29
|
+
inevent_forward: PInAction.toDB(this.inevent_forward),
|
|
30
|
+
inevent_backward: PInAction.toDB(this.inevent_backward),
|
|
31
|
+
inevent_stop: PInAction.toDB(this.inevent_stop),
|
|
32
|
+
outevent_onChange: POutAction.toDB(this.outevent_onChange),
|
|
33
|
+
duration: this.duration,
|
|
34
|
+
from: this.from,
|
|
35
|
+
to: this.to,
|
|
36
|
+
loop: this.loop,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
render() { }
|
|
40
|
+
unrender() {
|
|
41
|
+
if (this._tween !== null) {
|
|
42
|
+
this._tween.stop();
|
|
43
|
+
this._tween = null;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
_state = { value: 0 };
|
|
47
|
+
callback_onStop = () => {
|
|
48
|
+
if (this._tween !== null) {
|
|
49
|
+
this._tween.stop();
|
|
50
|
+
this._tween = null;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
callback_onForward = () => {
|
|
54
|
+
if (!this.node.isRunning() || !this.outevent_onChange) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
if (this._tween !== null) {
|
|
58
|
+
this._tween.stop();
|
|
59
|
+
this._tween = null;
|
|
60
|
+
}
|
|
61
|
+
let lastInt = -1;
|
|
62
|
+
this._tween = new Tween(this._state)
|
|
63
|
+
.to({ value: this.to }, this.duration)
|
|
64
|
+
.repeat(this.loop ? Infinity : 0)
|
|
65
|
+
.onUpdate(() => {
|
|
66
|
+
const currentInt = Math.round(this._state.value);
|
|
67
|
+
if (currentInt !== lastInt) {
|
|
68
|
+
lastInt = currentInt;
|
|
69
|
+
this.outevent_onChange.emit(currentInt.toString(), this);
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
.onComplete(() => {
|
|
73
|
+
this._tween = null;
|
|
74
|
+
})
|
|
75
|
+
.start();
|
|
76
|
+
this.context.addTween(this._tween);
|
|
77
|
+
};
|
|
78
|
+
callback_onBackward = () => {
|
|
79
|
+
if (!this.node.isRunning() || !this.outevent_onChange) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (this._tween !== null) {
|
|
83
|
+
this._tween.stop();
|
|
84
|
+
this._tween = null;
|
|
85
|
+
}
|
|
86
|
+
this._state.value = this.to;
|
|
87
|
+
let lastInt = -1;
|
|
88
|
+
this._tween = new Tween(this._state)
|
|
89
|
+
.to({ value: this.from }, this.duration)
|
|
90
|
+
.repeat(this.loop ? Infinity : 0)
|
|
91
|
+
.onUpdate(() => {
|
|
92
|
+
const currentInt = Math.floor(this._state.value);
|
|
93
|
+
if (currentInt !== lastInt) {
|
|
94
|
+
lastInt = currentInt;
|
|
95
|
+
this.outevent_onChange.emit(currentInt.toString(), this);
|
|
96
|
+
}
|
|
97
|
+
})
|
|
98
|
+
.onComplete(() => {
|
|
99
|
+
this._tween = null;
|
|
100
|
+
})
|
|
101
|
+
.start();
|
|
102
|
+
this.context.addTween(this._tween);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=PI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;QAED,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YACzB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACrB,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC;QAE5B,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC;QAEjB,IAAI,CAAC,MAAM,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;aACjC,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC;aACvC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;aAChC,QAAQ,CAAC,GAAG,EAAE;YACb,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAEjD,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;gBAC3B,OAAO,GAAG,UAAU,CAAC;gBACrB,IAAI,CAAC,iBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,CAAC;YAC5D,CAAC;QACH,CAAC,CAAC;aACD,UAAU,CAAC,GAAG,EAAE;YACf,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACrB,CAAC,CAAC;aACD,KAAK,EAAE,CAAC;QACX,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC,CAAC;CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import GameContext from "../GameContext";
|
|
2
|
+
import PNode from "../PNode";
|
|
3
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
4
|
+
interface DBLight extends DBComponent {
|
|
5
|
+
color: string;
|
|
6
|
+
intensity: number;
|
|
7
|
+
}
|
|
8
|
+
export type { DBLight };
|
|
9
|
+
export default abstract class PLight extends PComponent {
|
|
10
|
+
color: string;
|
|
11
|
+
intensity: number;
|
|
12
|
+
constructor(dbComponent: DBLight, node: PNode, context: GameContext);
|
|
13
|
+
toDB(): DBLight;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=PLight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PLight.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PLight.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,OAAQ,SAAQ,WAAW;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,YAAY,EAAE,OAAO,EAAE,CAAC;AAExB,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAO,SAAQ,UAAU;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;gBAEN,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IASnE,IAAI,IAAI,OAAO;CAOhB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
export default class PLight extends PComponent {
|
|
3
|
+
color;
|
|
4
|
+
intensity;
|
|
5
|
+
constructor(dbComponent, node, context) {
|
|
6
|
+
super(dbComponent, "PLight", "Ambient Light", node, context);
|
|
7
|
+
this.requireTransform = true;
|
|
8
|
+
this.color = dbComponent.color;
|
|
9
|
+
this.intensity = dbComponent.intensity;
|
|
10
|
+
}
|
|
11
|
+
toDB() {
|
|
12
|
+
return {
|
|
13
|
+
...super.toDB(),
|
|
14
|
+
color: this.color,
|
|
15
|
+
intensity: this.intensity,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=PLight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PLight.js","sourceRoot":"","sources":["../../src/pcomponents/PLight.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AASxD,MAAM,CAAC,OAAO,OAAgB,MAAO,SAAQ,UAAU;IACrD,KAAK,CAAS;IACd,SAAS,CAAS;IAElB,YAAY,WAAoB,EAAE,IAAW,EAAE,OAAoB;QACjE,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAE7D,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAE7B,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;IACzC,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import GameContext from "../GameContext";
|
|
2
|
+
import PNode from "../PNode";
|
|
3
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
4
|
+
interface DBLightDirectional extends DBComponent {
|
|
5
|
+
color: string;
|
|
6
|
+
intensity: number;
|
|
7
|
+
shadowSize: number;
|
|
8
|
+
castShadow: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type { DBLightDirectional };
|
|
11
|
+
export default abstract class PLightDirectional extends PComponent {
|
|
12
|
+
color: string;
|
|
13
|
+
intensity: number;
|
|
14
|
+
shadowSize: number;
|
|
15
|
+
castShadow: boolean;
|
|
16
|
+
constructor(dbComponent: DBLightDirectional, node: PNode, context: GameContext);
|
|
17
|
+
toDB(): DBLightDirectional;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=PLightDirectional.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PLightDirectional.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PLightDirectional.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,kBAAmB,SAAQ,WAAW;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,iBAAkB,SAAQ,UAAU;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;gBAGlB,WAAW,EAAE,kBAAkB,EAC/B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IAYtB,IAAI,IAAI,kBAAkB;CAS3B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
export default class PLightDirectional extends PComponent {
|
|
3
|
+
color;
|
|
4
|
+
intensity;
|
|
5
|
+
shadowSize;
|
|
6
|
+
castShadow;
|
|
7
|
+
constructor(dbComponent, node, context) {
|
|
8
|
+
super(dbComponent, "PLightDirectional", "Directional Light", node, context);
|
|
9
|
+
this.requireTransform = true;
|
|
10
|
+
this.shadowSize = dbComponent.shadowSize;
|
|
11
|
+
this.color = dbComponent.color;
|
|
12
|
+
this.intensity = dbComponent.intensity;
|
|
13
|
+
this.castShadow = dbComponent.castShadow;
|
|
14
|
+
}
|
|
15
|
+
toDB() {
|
|
16
|
+
return {
|
|
17
|
+
...super.toDB(),
|
|
18
|
+
shadowSize: this.shadowSize,
|
|
19
|
+
castShadow: this.castShadow,
|
|
20
|
+
color: this.color,
|
|
21
|
+
intensity: this.intensity,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=PLightDirectional.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PLightDirectional.js","sourceRoot":"","sources":["../../src/pcomponents/PLightDirectional.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AAWxD,MAAM,CAAC,OAAO,OAAgB,iBAAkB,SAAQ,UAAU;IAChE,KAAK,CAAS;IACd,SAAS,CAAS;IAClB,UAAU,CAAS;IACnB,UAAU,CAAU;IAEpB,YACE,WAA+B,EAC/B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,WAAW,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAE5E,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAE7B,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAC3C,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import BaseMaterial, { DBBaseMaterial } from "./BaseMaterial";
|
|
2
|
+
import GameContext from "../GameContext";
|
|
3
|
+
import PNode from "../PNode";
|
|
4
|
+
interface DBMaskedMaterial extends DBBaseMaterial {
|
|
5
|
+
maskColor: string;
|
|
6
|
+
maskThreshold: number;
|
|
7
|
+
maskSoftness: number;
|
|
8
|
+
}
|
|
9
|
+
export type { DBMaskedMaterial };
|
|
10
|
+
export default abstract class PMaskedMaterial extends BaseMaterial {
|
|
11
|
+
maskColor: string;
|
|
12
|
+
maskThreshold: number;
|
|
13
|
+
maskSoftness: number;
|
|
14
|
+
constructor(dbComponent: DBMaskedMaterial, node: PNode, context: GameContext);
|
|
15
|
+
toDB(): DBMaskedMaterial;
|
|
16
|
+
protected abstract _dispose(unrender: boolean): void;
|
|
17
|
+
dispose(): void;
|
|
18
|
+
unrender(): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=PMaskedMaterial.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PMaskedMaterial.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PMaskedMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,EAAE,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,gBAAiB,SAAQ,cAAc;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAEjC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,eAAgB,SAAQ,YAAY;IAChE,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;gBAGnB,WAAW,EAAE,gBAAgB,EAC7B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IActB,IAAI,IAAI,gBAAgB;IAaxB,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAEpD,OAAO;IAKP,QAAQ;CAGT"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import BaseMaterial from "./BaseMaterial";
|
|
2
|
+
export default class PMaskedMaterial extends BaseMaterial {
|
|
3
|
+
maskColor;
|
|
4
|
+
maskThreshold;
|
|
5
|
+
maskSoftness;
|
|
6
|
+
constructor(dbComponent, node, context) {
|
|
7
|
+
super("PMaskedMaterial", "Masked Material", dbComponent, node, context);
|
|
8
|
+
this.maskColor = dbComponent.maskColor;
|
|
9
|
+
this.maskThreshold = dbComponent.maskThreshold;
|
|
10
|
+
this.maskSoftness = dbComponent.maskSoftness;
|
|
11
|
+
// Support image
|
|
12
|
+
this.isImageMaterial = true;
|
|
13
|
+
// Support video
|
|
14
|
+
this.isVideoMaterial = true;
|
|
15
|
+
}
|
|
16
|
+
toDB() {
|
|
17
|
+
return {
|
|
18
|
+
...super.toDB(),
|
|
19
|
+
maskColor: this.maskColor,
|
|
20
|
+
maskThreshold: this.maskThreshold,
|
|
21
|
+
maskSoftness: this.maskSoftness,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
dispose() {
|
|
25
|
+
// Release files
|
|
26
|
+
if (this.file_texture)
|
|
27
|
+
this.context.releaseFile(this.file_texture);
|
|
28
|
+
}
|
|
29
|
+
unrender() {
|
|
30
|
+
this._dispose(true);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=PMaskedMaterial.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PMaskedMaterial.js","sourceRoot":"","sources":["../../src/pcomponents/PMaskedMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,YAAgC,MAAM,gBAAgB,CAAC;AAY9D,MAAM,CAAC,OAAO,OAAgB,eAAgB,SAAQ,YAAY;IAChE,SAAS,CAAS;IAClB,aAAa,CAAS;IACtB,YAAY,CAAS;IAErB,YACE,WAA6B,EAC7B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAExE,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;QACvC,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC;QAE7C,gBAAgB;QAChB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,gBAAgB;QAChB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;IAC9B,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,YAAY,EAAE,IAAI,CAAC,YAAY;SAChC,CAAC;IACJ,CAAC;IAQD,OAAO;QACL,gBAAgB;QAChB,IAAI,IAAI,CAAC,YAAY;YAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACrE,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
2
|
+
import { IInAction, PInAction } from "../PAction";
|
|
3
|
+
import PNode from "../PNode";
|
|
4
|
+
import GameContext from "../GameContext";
|
|
5
|
+
interface DBMaterialModifier extends DBComponent {
|
|
6
|
+
inevent_setEmissiveColor: IInAction | null;
|
|
7
|
+
inevent_setEmissiveIntensity: IInAction | null;
|
|
8
|
+
}
|
|
9
|
+
export type { DBMaterialModifier };
|
|
10
|
+
export default abstract class PMaterialModifier extends PComponent {
|
|
11
|
+
inevent_setEmissiveColor: PInAction | null;
|
|
12
|
+
inevent_setEmissiveIntensity: PInAction | null;
|
|
13
|
+
loaded: boolean;
|
|
14
|
+
validNode: boolean;
|
|
15
|
+
constructor(dbComponent: DBMaterialModifier, node: PNode, context: GameContext);
|
|
16
|
+
toDB(): DBMaterialModifier;
|
|
17
|
+
protected abstract callback_setEmissiveColor(arg: string | null): void;
|
|
18
|
+
protected abstract callback_setEmissiveIntensity(arg: string | null): void;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=PMaterialModifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PMaterialModifier.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PMaterialModifier.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAGzC,UAAU,kBAAmB,SAAQ,WAAW;IAC9C,wBAAwB,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3C,4BAA4B,EAAE,SAAS,GAAG,IAAI,CAAC;CAChD;AAED,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,iBAAkB,SAAQ,UAAU;IAChE,wBAAwB,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3C,4BAA4B,EAAE,SAAS,GAAG,IAAI,CAAC;IAE/C,MAAM,UAAS;IACf,SAAS,UAAS;gBAGhB,WAAW,EAAE,kBAAkB,EAC/B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IAkBtB,IAAI,IAAI,kBAAkB;IAU1B,SAAS,CAAC,QAAQ,CAAC,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IACtE,SAAS,CAAC,QAAQ,CAAC,6BAA6B,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;CAC3E"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import PComponent from "../PComponent";
|
|
2
|
+
import { PInAction } from "../PAction";
|
|
3
|
+
import { DataType } from "../PEnums";
|
|
4
|
+
export default class PMaterialModifier extends PComponent {
|
|
5
|
+
inevent_setEmissiveColor;
|
|
6
|
+
inevent_setEmissiveIntensity;
|
|
7
|
+
loaded = false;
|
|
8
|
+
validNode = false;
|
|
9
|
+
constructor(dbComponent, node, context) {
|
|
10
|
+
super(dbComponent, "PMaterialModifier", "Material Modifer", node, context);
|
|
11
|
+
this.inevent_setEmissiveColor = node.registerInAction("Set Emissive Color", dbComponent.inevent_setEmissiveColor, (arg) => this.callback_setEmissiveColor(arg), DataType.Color);
|
|
12
|
+
this.inevent_setEmissiveIntensity = node.registerInAction("Set Emissive Intensity", dbComponent.inevent_setEmissiveIntensity, (arg) => this.callback_setEmissiveIntensity(arg), DataType.Number);
|
|
13
|
+
}
|
|
14
|
+
toDB() {
|
|
15
|
+
return {
|
|
16
|
+
...super.toDB(),
|
|
17
|
+
inevent_setEmissiveColor: PInAction.toDB(this.inevent_setEmissiveColor),
|
|
18
|
+
inevent_setEmissiveIntensity: PInAction.toDB(this.inevent_setEmissiveIntensity),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=PMaterialModifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PMaterialModifier.js","sourceRoot":"","sources":["../../src/pcomponents/PMaterialModifier.ts"],"names":[],"mappings":"AAAA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAa,SAAS,EAAE,MAAM,YAAY,CAAC;AAGlD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AASrC,MAAM,CAAC,OAAO,OAAgB,iBAAkB,SAAQ,UAAU;IAChE,wBAAwB,CAAmB;IAC3C,4BAA4B,CAAmB;IAE/C,MAAM,GAAG,KAAK,CAAC;IACf,SAAS,GAAG,KAAK,CAAC;IAElB,YACE,WAA+B,EAC/B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,WAAW,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAE3E,IAAI,CAAC,wBAAwB,GAAG,IAAI,CAAC,gBAAgB,CACnD,oBAAoB,EACpB,WAAW,CAAC,wBAAwB,EACpC,CAAC,GAAkB,EAAE,EAAE,CAAC,IAAI,CAAC,yBAAyB,CAAC,GAAG,CAAC,EAC3D,QAAQ,CAAC,KAAK,CACf,CAAC;QACF,IAAI,CAAC,4BAA4B,GAAG,IAAI,CAAC,gBAAgB,CACvD,wBAAwB,EACxB,WAAW,CAAC,4BAA4B,EACxC,CAAC,GAAkB,EAAE,EAAE,CAAC,IAAI,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAC/D,QAAQ,CAAC,MAAM,CAChB,CAAC;IACJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,wBAAwB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,CAAC;YACvE,4BAA4B,EAAE,SAAS,CAAC,IAAI,CAC1C,IAAI,CAAC,4BAA4B,CAClC;SACF,CAAC;IACJ,CAAC;CAIF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import PComponent, { DBComponent } from "../PComponent";
|
|
2
|
+
import { IInAction, IOutAction, PInAction, POutAction } from "../PAction";
|
|
3
|
+
import PNode from "../PNode";
|
|
4
|
+
import GameContext from "../GameContext";
|
|
5
|
+
import PVector3 from "../PVector3";
|
|
6
|
+
import { Tween } from "@tweenjs/tween.js";
|
|
7
|
+
interface DBModelAnnotation extends DBComponent {
|
|
8
|
+
inevent_animate: IInAction | null;
|
|
9
|
+
inevent_jump: IInAction | null;
|
|
10
|
+
outevent_onAnimateStart: IOutAction | null;
|
|
11
|
+
outevent_onAnimateFinished: IOutAction | null;
|
|
12
|
+
outevent_onJump: IOutAction | null;
|
|
13
|
+
duration: number;
|
|
14
|
+
positionIndex: number;
|
|
15
|
+
targetIndex: number;
|
|
16
|
+
}
|
|
17
|
+
export type { DBModelAnnotation };
|
|
18
|
+
export default abstract class PModelAnnotation extends PComponent {
|
|
19
|
+
inevent_animate: PInAction | null;
|
|
20
|
+
inevent_jump: PInAction | null;
|
|
21
|
+
outevent_onAnimateStart: POutAction | null;
|
|
22
|
+
outevent_onAnimateFinished: POutAction | null;
|
|
23
|
+
outevent_onJump: POutAction | null;
|
|
24
|
+
duration: number;
|
|
25
|
+
positionIndex: number;
|
|
26
|
+
targetIndex: number;
|
|
27
|
+
protected _tween: Tween<any> | null;
|
|
28
|
+
_annotation: string | null;
|
|
29
|
+
constructor(dbComponent: DBModelAnnotation, node: PNode, context: GameContext);
|
|
30
|
+
toDB(): DBModelAnnotation;
|
|
31
|
+
render(): void;
|
|
32
|
+
unrender(): void;
|
|
33
|
+
protected callback_animate: () => void;
|
|
34
|
+
private onComplete;
|
|
35
|
+
protected callback_jump: () => void;
|
|
36
|
+
getAnnotation(): {
|
|
37
|
+
position: PVector3;
|
|
38
|
+
target: PVector3;
|
|
39
|
+
name: string;
|
|
40
|
+
} | null;
|
|
41
|
+
getModelNodes(): string[];
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=PModelAnnotation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PModelAnnotation.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PModelAnnotation.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK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