blacktrigram 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +866 -0
- package/SECURITY.md +124 -0
- package/lib/App.d.ts +4 -0
- package/lib/App.d.ts.map +1 -0
- package/lib/App2.js +386 -0
- package/lib/App2.js.map +1 -0
- package/lib/_virtual/_rolldown/runtime.js +13 -0
- package/lib/assets/index.css +1146 -0
- package/lib/audio/AudioAssetLoader.d.ts +101 -0
- package/lib/audio/AudioAssetLoader.d.ts.map +1 -0
- package/lib/audio/AudioAssetLoader.js +245 -0
- package/lib/audio/AudioAssetLoader.js.map +1 -0
- package/lib/audio/AudioAssetRegistry.d.ts +126 -0
- package/lib/audio/AudioAssetRegistry.d.ts.map +1 -0
- package/lib/audio/AudioAssetRegistry.js +970 -0
- package/lib/audio/AudioAssetRegistry.js.map +1 -0
- package/lib/audio/AudioCache.d.ts +135 -0
- package/lib/audio/AudioCache.d.ts.map +1 -0
- package/lib/audio/AudioCache.js +211 -0
- package/lib/audio/AudioCache.js.map +1 -0
- package/lib/audio/AudioManager.d.ts +162 -0
- package/lib/audio/AudioManager.d.ts.map +1 -0
- package/lib/audio/AudioManager.js +508 -0
- package/lib/audio/AudioManager.js.map +1 -0
- package/lib/audio/AudioMonitor.d.ts +122 -0
- package/lib/audio/AudioMonitor.d.ts.map +1 -0
- package/lib/audio/AudioMonitor.js +215 -0
- package/lib/audio/AudioMonitor.js.map +1 -0
- package/lib/audio/AudioPool.d.ts +108 -0
- package/lib/audio/AudioPool.d.ts.map +1 -0
- package/lib/audio/AudioPool.js +206 -0
- package/lib/audio/AudioPool.js.map +1 -0
- package/lib/audio/AudioProvider.d.ts +28 -0
- package/lib/audio/AudioProvider.d.ts.map +1 -0
- package/lib/audio/AudioProvider.js +135 -0
- package/lib/audio/AudioProvider.js.map +1 -0
- package/lib/audio/AudioUtils.d.ts +77 -0
- package/lib/audio/AudioUtils.d.ts.map +1 -0
- package/lib/audio/AudioUtils.js +164 -0
- package/lib/audio/AudioUtils.js.map +1 -0
- package/lib/audio/BoneImpactAudioMap.d.ts +64 -0
- package/lib/audio/BoneImpactAudioMap.d.ts.map +1 -0
- package/lib/audio/BoneImpactAudioMap.js +133 -0
- package/lib/audio/BoneImpactAudioMap.js.map +1 -0
- package/lib/audio/VariantSelector.d.ts +69 -0
- package/lib/audio/VariantSelector.d.ts.map +1 -0
- package/lib/audio/VariantSelector.js +177 -0
- package/lib/audio/VariantSelector.js.map +1 -0
- package/lib/audio/index.d.ts +13 -0
- package/lib/audio/index.d.ts.map +1 -0
- package/lib/audio/index.js +41 -0
- package/lib/audio/index.js.map +1 -0
- package/lib/audio/types.d.ts +220 -0
- package/lib/audio/types.d.ts.map +1 -0
- package/lib/audio/types.js +12 -0
- package/lib/audio/types.js.map +1 -0
- package/lib/components/effects/WindParticles3D.d.ts +83 -0
- package/lib/components/effects/WindParticles3D.d.ts.map +1 -0
- package/lib/components/effects/index.d.ts +6 -0
- package/lib/components/effects/index.d.ts.map +1 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +74 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/screens/combat/CombatScreen3D.d.ts +74 -0
- package/lib/components/screens/combat/CombatScreen3D.d.ts.map +1 -0
- package/lib/components/screens/combat/CombatScreen3D.js +1912 -0
- package/lib/components/screens/combat/CombatScreen3D.js.map +1 -0
- package/lib/components/screens/combat/components/controls/CombatButtons.d.ts +39 -0
- package/lib/components/screens/combat/components/controls/CombatButtons.d.ts.map +1 -0
- package/lib/components/screens/combat/components/controls/CombatButtons.js +52 -0
- package/lib/components/screens/combat/components/controls/CombatButtons.js.map +1 -0
- package/lib/components/screens/combat/components/controls/CombatControlsPanel.d.ts +35 -0
- package/lib/components/screens/combat/components/controls/CombatControlsPanel.d.ts.map +1 -0
- package/lib/components/screens/combat/components/controls/CombatControlsPanel.js +78 -0
- package/lib/components/screens/combat/components/controls/CombatControlsPanel.js.map +1 -0
- package/lib/components/screens/combat/components/controls/ControlsGuide.d.ts +23 -0
- package/lib/components/screens/combat/components/controls/ControlsGuide.d.ts.map +1 -0
- package/lib/components/screens/combat/components/controls/ControlsGuide.js +214 -0
- package/lib/components/screens/combat/components/controls/ControlsGuide.js.map +1 -0
- package/lib/components/screens/combat/components/controls/KeyboardHints.d.ts +54 -0
- package/lib/components/screens/combat/components/controls/KeyboardHints.d.ts.map +1 -0
- package/lib/components/screens/combat/components/controls/KeyboardHints.js +357 -0
- package/lib/components/screens/combat/components/controls/KeyboardHints.js.map +1 -0
- package/lib/components/screens/combat/components/controls/PauseMenu.d.ts +32 -0
- package/lib/components/screens/combat/components/controls/PauseMenu.d.ts.map +1 -0
- package/lib/components/screens/combat/components/controls/PauseMenu.js +254 -0
- package/lib/components/screens/combat/components/controls/PauseMenu.js.map +1 -0
- package/lib/components/screens/combat/components/controls/PauseMenuButton.d.ts +63 -0
- package/lib/components/screens/combat/components/controls/PauseMenuButton.d.ts.map +1 -0
- package/lib/components/screens/combat/components/controls/PauseMenuButton.js +108 -0
- package/lib/components/screens/combat/components/controls/PauseMenuButton.js.map +1 -0
- package/lib/components/screens/combat/components/controls/QuickSettings.d.ts +42 -0
- package/lib/components/screens/combat/components/controls/QuickSettings.d.ts.map +1 -0
- package/lib/components/screens/combat/components/controls/QuickSettings.js +259 -0
- package/lib/components/screens/combat/components/controls/QuickSettings.js.map +1 -0
- package/lib/components/screens/combat/components/effects/ArterialSpray3D.d.ts +73 -0
- package/lib/components/screens/combat/components/effects/ArterialSpray3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodDecals3D.d.ts +108 -0
- package/lib/components/screens/combat/components/effects/BloodDecals3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodDecals3D.js +232 -0
- package/lib/components/screens/combat/components/effects/BloodDecals3D.js.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodLossOverlayHtml.d.ts +53 -0
- package/lib/components/screens/combat/components/effects/BloodLossOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodLossOverlayHtml.js +87 -0
- package/lib/components/screens/combat/components/effects/BloodLossOverlayHtml.js.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodParticles3D.d.ts +80 -0
- package/lib/components/screens/combat/components/effects/BloodParticles3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodParticles3D.js +278 -0
- package/lib/components/screens/combat/components/effects/BloodParticles3D.js.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodViscosity3D.d.ts +64 -0
- package/lib/components/screens/combat/components/effects/BloodViscosity3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/BloodViscosity3D.js +248 -0
- package/lib/components/screens/combat/components/effects/BloodViscosity3D.js.map +1 -0
- package/lib/components/screens/combat/components/effects/BoneCrackParticles3D.d.ts +60 -0
- package/lib/components/screens/combat/components/effects/BoneCrackParticles3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/CombatParticleEffects3D.d.ts +37 -0
- package/lib/components/screens/combat/components/effects/CombatParticleEffects3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/CombatParticleEffects3D.js +184 -0
- package/lib/components/screens/combat/components/effects/CombatParticleEffects3D.js.map +1 -0
- package/lib/components/screens/combat/components/effects/ConsciousnessBlur.d.ts +49 -0
- package/lib/components/screens/combat/components/effects/ConsciousnessBlur.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/ConsciousnessBlur.js +66 -0
- package/lib/components/screens/combat/components/effects/ConsciousnessBlur.js.map +1 -0
- package/lib/components/screens/combat/components/effects/DustClouds3D.d.ts +93 -0
- package/lib/components/screens/combat/components/effects/DustClouds3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/EarthCrackEffect3D.d.ts +57 -0
- package/lib/components/screens/combat/components/effects/EarthCrackEffect3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/EarthHealingEffect3D.d.ts +88 -0
- package/lib/components/screens/combat/components/effects/EarthHealingEffect3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/ImpactSparks3D.d.ts +91 -0
- package/lib/components/screens/combat/components/effects/ImpactSparks3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/InternalDamage3D.d.ts +67 -0
- package/lib/components/screens/combat/components/effects/InternalDamage3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/InternalDamage3D.js +261 -0
- package/lib/components/screens/combat/components/effects/InternalDamage3D.js.map +1 -0
- package/lib/components/screens/combat/components/effects/LiPrecisionTargetingOverlay.d.ts +45 -0
- package/lib/components/screens/combat/components/effects/LiPrecisionTargetingOverlay.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/NerveStrikeParticles3D.d.ts +61 -0
- package/lib/components/screens/combat/components/effects/NerveStrikeParticles3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/PainVignette.d.ts +47 -0
- package/lib/components/screens/combat/components/effects/PainVignette.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/PainVignette.js +65 -0
- package/lib/components/screens/combat/components/effects/PainVignette.js.map +1 -0
- package/lib/components/screens/combat/components/effects/ParticleAudio3D.d.ts +52 -0
- package/lib/components/screens/combat/components/effects/ParticleAudio3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/ParticleAudio3D.js +103 -0
- package/lib/components/screens/combat/components/effects/ParticleAudio3D.js.map +1 -0
- package/lib/components/screens/combat/components/effects/TraumaOverlay3D.d.ts +91 -0
- package/lib/components/screens/combat/components/effects/TraumaOverlay3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/TraumaOverlay3D.js +296 -0
- package/lib/components/screens/combat/components/effects/TraumaOverlay3D.js.map +1 -0
- package/lib/components/screens/combat/components/effects/WaterRipple3D.d.ts +64 -0
- package/lib/components/screens/combat/components/effects/WaterRipple3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/WaterWave3D.d.ts +72 -0
- package/lib/components/screens/combat/components/effects/WaterWave3D.d.ts.map +1 -0
- package/lib/components/screens/combat/components/effects/index.d.ts +121 -0
- package/lib/components/screens/combat/components/effects/index.d.ts.map +1 -0
- package/lib/components/screens/combat/components/feedback/MatchCountdown.d.ts +31 -0
- package/lib/components/screens/combat/components/feedback/MatchCountdown.d.ts.map +1 -0
- package/lib/components/screens/combat/components/feedback/MatchCountdown.js +242 -0
- package/lib/components/screens/combat/components/feedback/MatchCountdown.js.map +1 -0
- package/lib/components/screens/combat/components/feedback/RoundAnnouncementOverlayHtml.d.ts +74 -0
- package/lib/components/screens/combat/components/feedback/RoundAnnouncementOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/combat/components/feedback/RoundAnnouncementOverlayHtml.js +275 -0
- package/lib/components/screens/combat/components/feedback/RoundAnnouncementOverlayHtml.js.map +1 -0
- package/lib/components/screens/combat/components/feedback/RoundDisplayStatus.d.ts +25 -0
- package/lib/components/screens/combat/components/feedback/RoundDisplayStatus.d.ts.map +1 -0
- package/lib/components/screens/combat/components/feedback/RoundDisplayStatus.js +61 -0
- package/lib/components/screens/combat/components/feedback/RoundDisplayStatus.js.map +1 -0
- package/lib/components/screens/combat/components/feedback/RoundStartAnnouncementOverlayHtml.d.ts +43 -0
- package/lib/components/screens/combat/components/feedback/RoundStartAnnouncementOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/combat/components/feedback/RoundStartAnnouncementOverlayHtml.js +139 -0
- package/lib/components/screens/combat/components/feedback/RoundStartAnnouncementOverlayHtml.js.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatBottomHUD.d.ts +50 -0
- package/lib/components/screens/combat/components/hud/CombatBottomHUD.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatBottomHUD.js +155 -0
- package/lib/components/screens/combat/components/hud/CombatBottomHUD.js.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatLeftHUD.d.ts +54 -0
- package/lib/components/screens/combat/components/hud/CombatLeftHUD.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatLeftHUD.js +103 -0
- package/lib/components/screens/combat/components/hud/CombatLeftHUD.js.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatRightHUD.d.ts +54 -0
- package/lib/components/screens/combat/components/hud/CombatRightHUD.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatRightHUD.js +101 -0
- package/lib/components/screens/combat/components/hud/CombatRightHUD.js.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatTopHUD.d.ts +47 -0
- package/lib/components/screens/combat/components/hud/CombatTopHUD.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/CombatTopHUD.js +141 -0
- package/lib/components/screens/combat/components/hud/CombatTopHUD.js.map +1 -0
- package/lib/components/screens/combat/components/hud/DifficultyIndicator.d.ts +25 -0
- package/lib/components/screens/combat/components/hud/DifficultyIndicator.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/DifficultyIndicator.js +129 -0
- package/lib/components/screens/combat/components/hud/DifficultyIndicator.js.map +1 -0
- package/lib/components/screens/combat/components/hud/FPSMonitor.d.ts +48 -0
- package/lib/components/screens/combat/components/hud/FPSMonitor.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/FPSMonitor.js +131 -0
- package/lib/components/screens/combat/components/hud/FPSMonitor.js.map +1 -0
- package/lib/components/screens/combat/components/hud/MobileControlsWrapper.d.ts +82 -0
- package/lib/components/screens/combat/components/hud/MobileControlsWrapper.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/MobileControlsWrapper.js +73 -0
- package/lib/components/screens/combat/components/hud/MobileControlsWrapper.js.map +1 -0
- package/lib/components/screens/combat/components/hud/PlayerStateOverlayHtml.d.ts +80 -0
- package/lib/components/screens/combat/components/hud/PlayerStateOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/PlayerStateOverlayHtml.js +79 -0
- package/lib/components/screens/combat/components/hud/PlayerStateOverlayHtml.js.map +1 -0
- package/lib/components/screens/combat/components/hud/index.d.ts +22 -0
- package/lib/components/screens/combat/components/hud/index.d.ts.map +1 -0
- package/lib/components/screens/combat/components/hud/index.js +4 -0
- package/lib/components/screens/combat/components/index.d.ts +47 -0
- package/lib/components/screens/combat/components/index.d.ts.map +1 -0
- package/lib/components/screens/combat/components/index.js +23 -0
- package/lib/components/screens/combat/components/indicators/BalanceIndicator.d.ts +52 -0
- package/lib/components/screens/combat/components/indicators/BalanceIndicator.d.ts.map +1 -0
- package/lib/components/screens/combat/components/indicators/BalanceIndicator.js +113 -0
- package/lib/components/screens/combat/components/indicators/BalanceIndicator.js.map +1 -0
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.d.ts +49 -0
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.d.ts.map +1 -0
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.js +150 -0
- package/lib/components/screens/combat/components/indicators/InputBufferDisplay.js.map +1 -0
- package/lib/components/screens/combat/components/indicators/StaminaWarning.d.ts +44 -0
- package/lib/components/screens/combat/components/indicators/StaminaWarning.d.ts.map +1 -0
- package/lib/components/screens/combat/components/indicators/StaminaWarning.js +83 -0
- package/lib/components/screens/combat/components/indicators/StaminaWarning.js.map +1 -0
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.d.ts +83 -0
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.d.ts.map +1 -0
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.js +161 -0
- package/lib/components/screens/combat/components/indicators/TechniqueNameDisplay.js.map +1 -0
- package/lib/components/screens/combat/helpers/AnimationUpdater.d.ts +38 -0
- package/lib/components/screens/combat/helpers/AnimationUpdater.d.ts.map +1 -0
- package/lib/components/screens/combat/helpers/AnimationUpdater.js +37 -0
- package/lib/components/screens/combat/helpers/AnimationUpdater.js.map +1 -0
- package/lib/components/screens/combat/helpers/combatHelpers.d.ts +37 -0
- package/lib/components/screens/combat/helpers/combatHelpers.d.ts.map +1 -0
- package/lib/components/screens/combat/helpers/combatHelpers.js +33 -0
- package/lib/components/screens/combat/helpers/combatHelpers.js.map +1 -0
- package/lib/components/screens/combat/helpers/index.d.ts +8 -0
- package/lib/components/screens/combat/helpers/index.d.ts.map +1 -0
- package/lib/components/screens/combat/helpers/index.js +2 -0
- package/lib/components/screens/combat/hooks/useAICombat.d.ts +108 -0
- package/lib/components/screens/combat/hooks/useAICombat.d.ts.map +1 -0
- package/lib/components/screens/combat/hooks/useAICombat.js +806 -0
- package/lib/components/screens/combat/hooks/useAICombat.js.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatActions.d.ts +106 -0
- package/lib/components/screens/combat/hooks/useCombatActions.d.ts.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatActions.js +766 -0
- package/lib/components/screens/combat/hooks/useCombatActions.js.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatAttackMovement.d.ts +85 -0
- package/lib/components/screens/combat/hooks/useCombatAttackMovement.d.ts.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatAttackMovement.js +202 -0
- package/lib/components/screens/combat/hooks/useCombatAttackMovement.js.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatAudio.d.ts +40 -0
- package/lib/components/screens/combat/hooks/useCombatAudio.d.ts.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatAudio.js +287 -0
- package/lib/components/screens/combat/hooks/useCombatAudio.js.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatLayout.d.ts +61 -0
- package/lib/components/screens/combat/hooks/useCombatLayout.d.ts.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatLayout.js +89 -0
- package/lib/components/screens/combat/hooks/useCombatLayout.js.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatState.d.ts +75 -0
- package/lib/components/screens/combat/hooks/useCombatState.d.ts.map +1 -0
- package/lib/components/screens/combat/hooks/useCombatState.js +182 -0
- package/lib/components/screens/combat/hooks/useCombatState.js.map +1 -0
- package/lib/components/screens/combat/hooks/useGrapplingAudio.d.ts +36 -0
- package/lib/components/screens/combat/hooks/useGrapplingAudio.d.ts.map +1 -0
- package/lib/components/screens/combat/hooks/usePreloadCombatAudio.d.ts +63 -0
- package/lib/components/screens/combat/hooks/usePreloadCombatAudio.d.ts.map +1 -0
- package/lib/components/screens/combat/index.d.ts +4 -0
- package/lib/components/screens/combat/index.d.ts.map +1 -0
- package/lib/components/screens/combat/index.js +25 -0
- package/lib/components/screens/controls/ControlsScreen3D.d.ts +12 -0
- package/lib/components/screens/controls/ControlsScreen3D.d.ts.map +1 -0
- package/lib/components/screens/controls/ControlsScreen3D.js +1248 -0
- package/lib/components/screens/controls/ControlsScreen3D.js.map +1 -0
- package/lib/components/screens/controls/components/ControlBindingsOverlayHtml.d.ts +35 -0
- package/lib/components/screens/controls/components/ControlBindingsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/controls/components/ControlBindingsOverlayHtml.js +155 -0
- package/lib/components/screens/controls/components/ControlBindingsOverlayHtml.js.map +1 -0
- package/lib/components/screens/controls/components/ControlCategoryTabsOverlayHtml.d.ts +31 -0
- package/lib/components/screens/controls/components/ControlCategoryTabsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/controls/components/ControlCategoryTabsOverlayHtml.js +100 -0
- package/lib/components/screens/controls/components/ControlCategoryTabsOverlayHtml.js.map +1 -0
- package/lib/components/screens/controls/components/GamepadVisualization3D.d.ts +32 -0
- package/lib/components/screens/controls/components/GamepadVisualization3D.d.ts.map +1 -0
- package/lib/components/screens/controls/components/GamepadVisualization3D.js +250 -0
- package/lib/components/screens/controls/components/GamepadVisualization3D.js.map +1 -0
- package/lib/components/screens/controls/components/InteractiveControlDemoOverlayHtml.d.ts +35 -0
- package/lib/components/screens/controls/components/InteractiveControlDemoOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/controls/components/InteractiveControlDemoOverlayHtml.js +222 -0
- package/lib/components/screens/controls/components/InteractiveControlDemoOverlayHtml.js.map +1 -0
- package/lib/components/screens/controls/components/Key3D.d.ts +36 -0
- package/lib/components/screens/controls/components/Key3D.d.ts.map +1 -0
- package/lib/components/screens/controls/components/Key3D.js +169 -0
- package/lib/components/screens/controls/components/Key3D.js.map +1 -0
- package/lib/components/screens/controls/components/VisualKeyboard3D.d.ts +37 -0
- package/lib/components/screens/controls/components/VisualKeyboard3D.d.ts.map +1 -0
- package/lib/components/screens/controls/components/VisualKeyboard3D.js +120 -0
- package/lib/components/screens/controls/components/VisualKeyboard3D.js.map +1 -0
- package/lib/components/screens/controls/components/index.d.ts +20 -0
- package/lib/components/screens/controls/components/index.d.ts.map +1 -0
- package/lib/components/screens/controls/constants/ControlsConstants.d.ts +67 -0
- package/lib/components/screens/controls/constants/ControlsConstants.d.ts.map +1 -0
- package/lib/components/screens/controls/constants/ControlsConstants.js +504 -0
- package/lib/components/screens/controls/constants/ControlsConstants.js.map +1 -0
- package/lib/components/screens/controls/hooks/useControlsState.d.ts +46 -0
- package/lib/components/screens/controls/hooks/useControlsState.d.ts.map +1 -0
- package/lib/components/screens/controls/hooks/useControlsState.js +71 -0
- package/lib/components/screens/controls/hooks/useControlsState.js.map +1 -0
- package/lib/components/screens/endscreen/EndScreen3D.d.ts +18 -0
- package/lib/components/screens/endscreen/EndScreen3D.d.ts.map +1 -0
- package/lib/components/screens/endscreen/EndScreen3D.js +367 -0
- package/lib/components/screens/endscreen/EndScreen3D.js.map +1 -0
- package/lib/components/screens/endscreen/components/DefeatAnimation3D.d.ts +9 -0
- package/lib/components/screens/endscreen/components/DefeatAnimation3D.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/DefeatAnimation3D.js +205 -0
- package/lib/components/screens/endscreen/components/DefeatAnimation3D.js.map +1 -0
- package/lib/components/screens/endscreen/components/MatchStatisticsDisplayOverlayHtml.d.ts +13 -0
- package/lib/components/screens/endscreen/components/MatchStatisticsDisplayOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/MatchStatisticsDisplayOverlayHtml.js +321 -0
- package/lib/components/screens/endscreen/components/MatchStatisticsDisplayOverlayHtml.js.map +1 -0
- package/lib/components/screens/endscreen/components/NavigationButtonsOverlayHtml.d.ts +28 -0
- package/lib/components/screens/endscreen/components/NavigationButtonsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/NavigationButtonsOverlayHtml.js +93 -0
- package/lib/components/screens/endscreen/components/NavigationButtonsOverlayHtml.js.map +1 -0
- package/lib/components/screens/endscreen/components/PerformanceBreakdownOverlayHtml.d.ts +13 -0
- package/lib/components/screens/endscreen/components/PerformanceBreakdownOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/PerformanceBreakdownOverlayHtml.js +294 -0
- package/lib/components/screens/endscreen/components/PerformanceBreakdownOverlayHtml.js.map +1 -0
- package/lib/components/screens/endscreen/components/PerformanceRatingOverlayHtml.d.ts +13 -0
- package/lib/components/screens/endscreen/components/PerformanceRatingOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/PerformanceRatingOverlayHtml.js +210 -0
- package/lib/components/screens/endscreen/components/PerformanceRatingOverlayHtml.js.map +1 -0
- package/lib/components/screens/endscreen/components/VictoryAnimation3D.d.ts +9 -0
- package/lib/components/screens/endscreen/components/VictoryAnimation3D.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/VictoryAnimation3D.js +299 -0
- package/lib/components/screens/endscreen/components/VictoryAnimation3D.js.map +1 -0
- package/lib/components/screens/endscreen/components/WinnerDisplayOverlayHtml.d.ts +14 -0
- package/lib/components/screens/endscreen/components/WinnerDisplayOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/WinnerDisplayOverlayHtml.js +170 -0
- package/lib/components/screens/endscreen/components/WinnerDisplayOverlayHtml.js.map +1 -0
- package/lib/components/screens/endscreen/components/animations.d.ts +25 -0
- package/lib/components/screens/endscreen/components/animations.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/animations.js +71 -0
- package/lib/components/screens/endscreen/components/animations.js.map +1 -0
- package/lib/components/screens/endscreen/components/index.d.ts +19 -0
- package/lib/components/screens/endscreen/components/index.d.ts.map +1 -0
- package/lib/components/screens/endscreen/components/index.js +8 -0
- package/lib/components/screens/endscreen/index.d.ts +9 -0
- package/lib/components/screens/endscreen/index.d.ts.map +1 -0
- package/lib/components/screens/endscreen/index.js +10 -0
- package/lib/components/screens/intro/IntroScreen3D.d.ts +16 -0
- package/lib/components/screens/intro/IntroScreen3D.d.ts.map +1 -0
- package/lib/components/screens/intro/IntroScreen3D.js +488 -0
- package/lib/components/screens/intro/IntroScreen3D.js.map +1 -0
- package/lib/components/screens/intro/components/AbilityListOverlayHtml.d.ts +53 -0
- package/lib/components/screens/intro/components/AbilityListOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/AbilityListOverlayHtml.js +146 -0
- package/lib/components/screens/intro/components/AbilityListOverlayHtml.js.map +1 -0
- package/lib/components/screens/intro/components/ArchetypeCardGridOverlayHtml.d.ts +20 -0
- package/lib/components/screens/intro/components/ArchetypeCardGridOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/ArchetypeCardGridOverlayHtml.js +154 -0
- package/lib/components/screens/intro/components/ArchetypeCardGridOverlayHtml.js.map +1 -0
- package/lib/components/screens/intro/components/ArchetypeCardOverlayHtml.d.ts +38 -0
- package/lib/components/screens/intro/components/ArchetypeCardOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/ArchetypeCardOverlayHtml.js +235 -0
- package/lib/components/screens/intro/components/ArchetypeCardOverlayHtml.js.map +1 -0
- package/lib/components/screens/intro/components/ArchetypeDisplayOverlayHtml.d.ts +35 -0
- package/lib/components/screens/intro/components/ArchetypeDisplayOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/ArchetypeDisplayOverlayHtml.js +325 -0
- package/lib/components/screens/intro/components/ArchetypeDisplayOverlayHtml.js.map +1 -0
- package/lib/components/screens/intro/components/EnhancedArchetypeDisplayOverlayHtml.d.ts +19 -0
- package/lib/components/screens/intro/components/EnhancedArchetypeDisplayOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/EnhancedArchetypeDisplayOverlayHtml.js +88 -0
- package/lib/components/screens/intro/components/EnhancedArchetypeDisplayOverlayHtml.js.map +1 -0
- package/lib/components/screens/intro/components/MenuButtonsOverlayHtml.d.ts +65 -0
- package/lib/components/screens/intro/components/MenuButtonsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/MenuButtonsOverlayHtml.js +143 -0
- package/lib/components/screens/intro/components/MenuButtonsOverlayHtml.js.map +1 -0
- package/lib/components/screens/intro/components/MenuSectionOverlayHtml.d.ts +27 -0
- package/lib/components/screens/intro/components/MenuSectionOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/MenuSectionOverlayHtml.js +153 -0
- package/lib/components/screens/intro/components/MenuSectionOverlayHtml.js.map +1 -0
- package/lib/components/screens/intro/components/StatBarOverlayHtml.d.ts +47 -0
- package/lib/components/screens/intro/components/StatBarOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/intro/components/StatBarOverlayHtml.js +128 -0
- package/lib/components/screens/intro/components/StatBarOverlayHtml.js.map +1 -0
- package/lib/components/screens/philosophy/PhilosophyScreen3D.d.ts +12 -0
- package/lib/components/screens/philosophy/PhilosophyScreen3D.d.ts.map +1 -0
- package/lib/components/screens/philosophy/PhilosophyScreen3D.js +561 -0
- package/lib/components/screens/philosophy/PhilosophyScreen3D.js.map +1 -0
- package/lib/components/screens/philosophy/components/InteractiveTrigramGridOverlayHtml.d.ts +40 -0
- package/lib/components/screens/philosophy/components/InteractiveTrigramGridOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/philosophy/components/PhilosophyNavigationOverlayHtml.d.ts +40 -0
- package/lib/components/screens/philosophy/components/PhilosophyNavigationOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/philosophy/components/PhilosophySectionOverlayHtml.d.ts +46 -0
- package/lib/components/screens/philosophy/components/PhilosophySectionOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/philosophy/components/PhilosophyTextOverlayHtml.d.ts +42 -0
- package/lib/components/screens/philosophy/components/PhilosophyTextOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/philosophy/components/TrigramSymbol3D.d.ts +49 -0
- package/lib/components/screens/philosophy/components/TrigramSymbol3D.d.ts.map +1 -0
- package/lib/components/screens/philosophy/components/TrigramVisualization3D.d.ts +43 -0
- package/lib/components/screens/philosophy/components/TrigramVisualization3D.d.ts.map +1 -0
- package/lib/components/screens/philosophy/components/index.d.ts +23 -0
- package/lib/components/screens/philosophy/components/index.d.ts.map +1 -0
- package/lib/components/screens/philosophy/hooks/index.d.ts +10 -0
- package/lib/components/screens/philosophy/hooks/index.d.ts.map +1 -0
- package/lib/components/screens/philosophy/hooks/usePhilosophyState.d.ts +50 -0
- package/lib/components/screens/philosophy/hooks/usePhilosophyState.d.ts.map +1 -0
- package/lib/components/screens/training/TrainingScreen3D.d.ts +51 -0
- package/lib/components/screens/training/TrainingScreen3D.d.ts.map +1 -0
- package/lib/components/screens/training/TrainingScreen3D.js +947 -0
- package/lib/components/screens/training/TrainingScreen3D.js.map +1 -0
- package/lib/components/screens/training/components/AnatomyControlsOverlayHtml.d.ts +31 -0
- package/lib/components/screens/training/components/AnatomyControlsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/AnatomyControlsOverlayHtml.js +189 -0
- package/lib/components/screens/training/components/AnatomyControlsOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/AnatomyOverlay3D.d.ts +31 -0
- package/lib/components/screens/training/components/AnatomyOverlay3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/AnatomyOverlay3D.js +679 -0
- package/lib/components/screens/training/components/AnatomyOverlay3D.js.map +1 -0
- package/lib/components/screens/training/components/DamageNumber3D.d.ts +28 -0
- package/lib/components/screens/training/components/DamageNumber3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/DamageNumber3D.js +6 -0
- package/lib/components/screens/training/components/FootPlacementMarkers3D.d.ts +47 -0
- package/lib/components/screens/training/components/FootPlacementMarkers3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/FootPlacementMarkers3D.js +380 -0
- package/lib/components/screens/training/components/FootPlacementMarkers3D.js.map +1 -0
- package/lib/components/screens/training/components/FootworkDrillsOverlayHtml.d.ts +47 -0
- package/lib/components/screens/training/components/FootworkDrillsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/FootworkDrillsOverlayHtml.js +292 -0
- package/lib/components/screens/training/components/FootworkDrillsOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/HitFeedbackEffect3D.d.ts +32 -0
- package/lib/components/screens/training/components/HitFeedbackEffect3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/HitFeedbackEffect3D.js +258 -0
- package/lib/components/screens/training/components/HitFeedbackEffect3D.js.map +1 -0
- package/lib/components/screens/training/components/TrainingAICharacter3D.d.ts +36 -0
- package/lib/components/screens/training/components/TrainingAICharacter3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingAICharacter3D.js +6 -0
- package/lib/components/screens/training/components/TrainingArena3D.d.ts +22 -0
- package/lib/components/screens/training/components/TrainingArena3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingArena3D.js +5 -0
- package/lib/components/screens/training/components/TrainingButtonsOverlayHtml.d.ts +73 -0
- package/lib/components/screens/training/components/TrainingButtonsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingButtonsOverlayHtml.js +107 -0
- package/lib/components/screens/training/components/TrainingButtonsOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/TrainingControlsOverlayHtml.d.ts +50 -0
- package/lib/components/screens/training/components/TrainingControlsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingControlsOverlayHtml.js +129 -0
- package/lib/components/screens/training/components/TrainingControlsOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/TrainingDummy3D.d.ts +72 -0
- package/lib/components/screens/training/components/TrainingDummy3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingDummy3D.js +298 -0
- package/lib/components/screens/training/components/TrainingDummy3D.js.map +1 -0
- package/lib/components/screens/training/components/TrainingFeedbackOverlayHtml.d.ts +30 -0
- package/lib/components/screens/training/components/TrainingFeedbackOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingFeedbackOverlayHtml.js +44 -0
- package/lib/components/screens/training/components/TrainingFeedbackOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/TrainingHitEffects3D.d.ts +27 -0
- package/lib/components/screens/training/components/TrainingHitEffects3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingHitEffects3D.js +6 -0
- package/lib/components/screens/training/components/TrainingModeSelectorOverlayHtml.d.ts +51 -0
- package/lib/components/screens/training/components/TrainingModeSelectorOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingModeSelectorOverlayHtml.js +188 -0
- package/lib/components/screens/training/components/TrainingModeSelectorOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/TrainingStatsOverlayHtml.d.ts +63 -0
- package/lib/components/screens/training/components/TrainingStatsOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/TrainingStatsOverlayHtml.js +253 -0
- package/lib/components/screens/training/components/TrainingStatsOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/VitalPointMarker3D.d.ts +37 -0
- package/lib/components/screens/training/components/VitalPointMarker3D.d.ts.map +1 -0
- package/lib/components/screens/training/components/VitalPointMarker3D.js +210 -0
- package/lib/components/screens/training/components/VitalPointMarker3D.js.map +1 -0
- package/lib/components/screens/training/components/VitalPointTrainingOverlayHtml.d.ts +29 -0
- package/lib/components/screens/training/components/VitalPointTrainingOverlayHtml.d.ts.map +1 -0
- package/lib/components/screens/training/components/VitalPointTrainingOverlayHtml.js +195 -0
- package/lib/components/screens/training/components/VitalPointTrainingOverlayHtml.js.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingBottomHUD.d.ts +59 -0
- package/lib/components/screens/training/components/hud/TrainingBottomHUD.d.ts.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingBottomHUD.js +145 -0
- package/lib/components/screens/training/components/hud/TrainingBottomHUD.js.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingLeftHUD.d.ts +47 -0
- package/lib/components/screens/training/components/hud/TrainingLeftHUD.d.ts.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingLeftHUD.js +59 -0
- package/lib/components/screens/training/components/hud/TrainingLeftHUD.js.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingRightHUD.d.ts +68 -0
- package/lib/components/screens/training/components/hud/TrainingRightHUD.d.ts.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingRightHUD.js +93 -0
- package/lib/components/screens/training/components/hud/TrainingRightHUD.js.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingTopHUD.d.ts +55 -0
- package/lib/components/screens/training/components/hud/TrainingTopHUD.d.ts.map +1 -0
- package/lib/components/screens/training/components/hud/TrainingTopHUD.js +184 -0
- package/lib/components/screens/training/components/hud/TrainingTopHUD.js.map +1 -0
- package/lib/components/screens/training/components/hud/index.d.ts +13 -0
- package/lib/components/screens/training/components/hud/index.d.ts.map +1 -0
- package/lib/components/screens/training/components/hud/index.js +4 -0
- package/lib/components/screens/training/components/index.d.ts +22 -0
- package/lib/components/screens/training/components/index.d.ts.map +1 -0
- package/lib/components/screens/training/components/index.js +19 -0
- package/lib/components/screens/training/hooks/useAttackMovement.d.ts +69 -0
- package/lib/components/screens/training/hooks/useAttackMovement.d.ts.map +1 -0
- package/lib/components/screens/training/hooks/useAttackMovement.js +118 -0
- package/lib/components/screens/training/hooks/useAttackMovement.js.map +1 -0
- package/lib/components/screens/training/hooks/useTrainingActions.d.ts +82 -0
- package/lib/components/screens/training/hooks/useTrainingActions.d.ts.map +1 -0
- package/lib/components/screens/training/hooks/useTrainingActions.js +284 -0
- package/lib/components/screens/training/hooks/useTrainingActions.js.map +1 -0
- package/lib/components/screens/training/hooks/useTrainingLayout.d.ts +62 -0
- package/lib/components/screens/training/hooks/useTrainingLayout.d.ts.map +1 -0
- package/lib/components/screens/training/hooks/useTrainingLayout.js +96 -0
- package/lib/components/screens/training/hooks/useTrainingLayout.js.map +1 -0
- package/lib/components/screens/training/hooks/useTrainingState.d.ts +100 -0
- package/lib/components/screens/training/hooks/useTrainingState.d.ts.map +1 -0
- package/lib/components/screens/training/hooks/useTrainingState.js +344 -0
- package/lib/components/screens/training/hooks/useTrainingState.js.map +1 -0
- package/lib/components/screens/training/index.d.ts +4 -0
- package/lib/components/screens/training/index.d.ts.map +1 -0
- package/lib/components/screens/training/index.js +16 -0
- package/lib/components/shared/base/AccessibilityProvider.d.ts +51 -0
- package/lib/components/shared/base/AccessibilityProvider.d.ts.map +1 -0
- package/lib/components/shared/base/AccessibilityProvider.js +71 -0
- package/lib/components/shared/base/AccessibilityProvider.js.map +1 -0
- package/lib/components/shared/base/BaseButton.d.ts +42 -0
- package/lib/components/shared/base/BaseButton.d.ts.map +1 -0
- package/lib/components/shared/base/BaseButton.js +214 -0
- package/lib/components/shared/base/BaseButton.js.map +1 -0
- package/lib/components/shared/base/BaseButtonOverlayHtml.d.ts +52 -0
- package/lib/components/shared/base/BaseButtonOverlayHtml.d.ts.map +1 -0
- package/lib/components/shared/base/BaseButtonOverlayHtml.js +130 -0
- package/lib/components/shared/base/BaseButtonOverlayHtml.js.map +1 -0
- package/lib/components/shared/base/BasePanel.d.ts +30 -0
- package/lib/components/shared/base/BasePanel.d.ts.map +1 -0
- package/lib/components/shared/base/BasePanel.js +83 -0
- package/lib/components/shared/base/BasePanel.js.map +1 -0
- package/lib/components/shared/base/BaseText.d.ts +40 -0
- package/lib/components/shared/base/BaseText.d.ts.map +1 -0
- package/lib/components/shared/base/BaseText.js +157 -0
- package/lib/components/shared/base/BaseText.js.map +1 -0
- package/lib/components/shared/base/ResponsiveContainer.d.ts +126 -0
- package/lib/components/shared/base/ResponsiveContainer.d.ts.map +1 -0
- package/lib/components/shared/base/index.d.ts +23 -0
- package/lib/components/shared/base/index.d.ts.map +1 -0
- package/lib/components/shared/base/index.js +6 -0
- package/lib/components/shared/base/layoutUtils.d.ts +102 -0
- package/lib/components/shared/base/layoutUtils.d.ts.map +1 -0
- package/lib/components/shared/base/useKoreanTheme.d.ts +206 -0
- package/lib/components/shared/base/useKoreanTheme.d.ts.map +1 -0
- package/lib/components/shared/base/useKoreanTheme.js +169 -0
- package/lib/components/shared/base/useKoreanTheme.js.map +1 -0
- package/lib/components/shared/debug/PerformanceDebugOverlayHtml.d.ts +32 -0
- package/lib/components/shared/debug/PerformanceDebugOverlayHtml.d.ts.map +1 -0
- package/lib/components/shared/debug/PerformanceDebugOverlayHtml.js +69 -0
- package/lib/components/shared/debug/PerformanceDebugOverlayHtml.js.map +1 -0
- package/lib/components/shared/effects/ScreenFlash.d.ts +98 -0
- package/lib/components/shared/effects/ScreenFlash.d.ts.map +1 -0
- package/lib/components/shared/mobile/ActionButtons.d.ts +44 -0
- package/lib/components/shared/mobile/ActionButtons.d.ts.map +1 -0
- package/lib/components/shared/mobile/ActionButtons.js +324 -0
- package/lib/components/shared/mobile/ActionButtons.js.map +1 -0
- package/lib/components/shared/mobile/GestureRecognizerPure.d.ts +64 -0
- package/lib/components/shared/mobile/GestureRecognizerPure.d.ts.map +1 -0
- package/lib/components/shared/mobile/GestureRecognizerPure.js +231 -0
- package/lib/components/shared/mobile/GestureRecognizerPure.js.map +1 -0
- package/lib/components/shared/mobile/HapticController.d.ts +253 -0
- package/lib/components/shared/mobile/HapticController.d.ts.map +1 -0
- package/lib/components/shared/mobile/HapticController.js +280 -0
- package/lib/components/shared/mobile/HapticController.js.map +1 -0
- package/lib/components/shared/mobile/MobileControlsPure.d.ts +43 -0
- package/lib/components/shared/mobile/MobileControlsPure.d.ts.map +1 -0
- package/lib/components/shared/mobile/MobileControlsPure.js +294 -0
- package/lib/components/shared/mobile/MobileControlsPure.js.map +1 -0
- package/lib/components/shared/mobile/PerformanceMonitor.d.ts +249 -0
- package/lib/components/shared/mobile/PerformanceMonitor.d.ts.map +1 -0
- package/lib/components/shared/mobile/StanceWheelPure.d.ts +78 -0
- package/lib/components/shared/mobile/StanceWheelPure.d.ts.map +1 -0
- package/lib/components/shared/mobile/StanceWheelPure.js +386 -0
- package/lib/components/shared/mobile/StanceWheelPure.js.map +1 -0
- package/lib/components/shared/mobile/TouchOptimizer.d.ts +154 -0
- package/lib/components/shared/mobile/TouchOptimizer.d.ts.map +1 -0
- package/lib/components/shared/mobile/TouchOptimizer.js +83 -0
- package/lib/components/shared/mobile/TouchOptimizer.js.map +1 -0
- package/lib/components/shared/mobile/VirtualDPad.d.ts +49 -0
- package/lib/components/shared/mobile/VirtualDPad.d.ts.map +1 -0
- package/lib/components/shared/mobile/VirtualDPad.js +289 -0
- package/lib/components/shared/mobile/VirtualDPad.js.map +1 -0
- package/lib/components/shared/mobile/index.d.ts +31 -0
- package/lib/components/shared/mobile/index.d.ts.map +1 -0
- package/lib/components/shared/mobile/index.js +7 -0
- package/lib/components/shared/three/anatomy/BodySurface.d.ts +78 -0
- package/lib/components/shared/three/anatomy/BodySurface.d.ts.map +1 -0
- package/lib/components/shared/three/anatomy/BodySurface.js +393 -0
- package/lib/components/shared/three/anatomy/BodySurface.js.map +1 -0
- package/lib/components/shared/three/anatomy/BoneAttachedMuscles.d.ts +147 -0
- package/lib/components/shared/three/anatomy/BoneAttachedMuscles.d.ts.map +1 -0
- package/lib/components/shared/three/anatomy/BoneAttachedMuscles.js +541 -0
- package/lib/components/shared/three/anatomy/BoneAttachedMuscles.js.map +1 -0
- package/lib/components/shared/three/anatomy/BoneClothing.d.ts +89 -0
- package/lib/components/shared/three/anatomy/BoneClothing.d.ts.map +1 -0
- package/lib/components/shared/three/anatomy/BoneClothing.js +345 -0
- package/lib/components/shared/three/anatomy/BoneClothing.js.map +1 -0
- package/lib/components/shared/three/anatomy/BoneRenderer.d.ts +129 -0
- package/lib/components/shared/three/anatomy/BoneRenderer.d.ts.map +1 -0
- package/lib/components/shared/three/anatomy/BoneRenderer.js +266 -0
- package/lib/components/shared/three/anatomy/BoneRenderer.js.map +1 -0
- package/lib/components/shared/three/anatomy/Face3D.d.ts +40 -0
- package/lib/components/shared/three/anatomy/Face3D.d.ts.map +1 -0
- package/lib/components/shared/three/anatomy/Face3D.js +426 -0
- package/lib/components/shared/three/anatomy/Face3D.js.map +1 -0
- package/lib/components/shared/three/anatomy/Foot3D.d.ts +71 -0
- package/lib/components/shared/three/anatomy/Foot3D.d.ts.map +1 -0
- package/lib/components/shared/three/anatomy/Foot3D.js +178 -0
- package/lib/components/shared/three/anatomy/Foot3D.js.map +1 -0
- package/lib/components/shared/three/anatomy/Hand3D.d.ts +101 -0
- package/lib/components/shared/three/anatomy/Hand3D.d.ts.map +1 -0
- package/lib/components/shared/three/anatomy/Hand3D.js +376 -0
- package/lib/components/shared/three/anatomy/Hand3D.js.map +1 -0
- package/lib/components/shared/three/effects/ActionFeedback.d.ts +78 -0
- package/lib/components/shared/three/effects/ActionFeedback.d.ts.map +1 -0
- package/lib/components/shared/three/effects/ActionFeedback.js +236 -0
- package/lib/components/shared/three/effects/ActionFeedback.js.map +1 -0
- package/lib/components/shared/three/effects/DamageNumbers.d.ts +36 -0
- package/lib/components/shared/three/effects/DamageNumbers.d.ts.map +1 -0
- package/lib/components/shared/three/effects/DamageNumbers.js +148 -0
- package/lib/components/shared/three/effects/DamageNumbers.js.map +1 -0
- package/lib/components/shared/three/effects/ExplosiveBurstEffect3D.d.ts +41 -0
- package/lib/components/shared/three/effects/ExplosiveBurstEffect3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/GrapplingIndicator3D.d.ts +49 -0
- package/lib/components/shared/three/effects/GrapplingIndicator3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/HitEffects3D.d.ts +28 -0
- package/lib/components/shared/three/effects/HitEffects3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/HitEffects3D.js +427 -0
- package/lib/components/shared/three/effects/HitEffects3D.js.map +1 -0
- package/lib/components/shared/three/effects/LimbExposureIndicator3D.d.ts +67 -0
- package/lib/components/shared/three/effects/LimbExposureIndicator3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/NerveDisruptionEffect3D.d.ts +63 -0
- package/lib/components/shared/three/effects/NerveDisruptionEffect3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/PlayerStateIndicators.d.ts +36 -0
- package/lib/components/shared/three/effects/PlayerStateIndicators.d.ts.map +1 -0
- package/lib/components/shared/three/effects/PlayerStateIndicators.js +237 -0
- package/lib/components/shared/three/effects/PlayerStateIndicators.js.map +1 -0
- package/lib/components/shared/three/effects/StanceSymbol3D.d.ts +52 -0
- package/lib/components/shared/three/effects/StanceSymbol3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/StanceSymbol3D.js +128 -0
- package/lib/components/shared/three/effects/StanceSymbol3D.js.map +1 -0
- package/lib/components/shared/three/effects/StanceTransitionEffect.d.ts +56 -0
- package/lib/components/shared/three/effects/StanceTransitionEffect.d.ts.map +1 -0
- package/lib/components/shared/three/effects/StanceTransitionEffect.js +174 -0
- package/lib/components/shared/three/effects/StanceTransitionEffect.js.map +1 -0
- package/lib/components/shared/three/effects/ThunderEffect3D.d.ts +39 -0
- package/lib/components/shared/three/effects/ThunderEffect3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/VitalPointMarkers3D.d.ts +48 -0
- package/lib/components/shared/three/effects/VitalPointMarkers3D.d.ts.map +1 -0
- package/lib/components/shared/three/effects/VitalPointMarkers3D.js +249 -0
- package/lib/components/shared/three/effects/VitalPointMarkers3D.js.map +1 -0
- package/lib/components/shared/three/index.d.ts +30 -0
- package/lib/components/shared/three/index.d.ts.map +1 -0
- package/lib/components/shared/three/index.js +9 -0
- package/lib/components/shared/three/indicators/ElementalColorSystem.d.ts +184 -0
- package/lib/components/shared/three/indicators/ElementalColorSystem.d.ts.map +1 -0
- package/lib/components/shared/three/indicators/ElementalColorSystem.js +147 -0
- package/lib/components/shared/three/indicators/ElementalColorSystem.js.map +1 -0
- package/lib/components/shared/three/indicators/GuardIndicator.d.ts +58 -0
- package/lib/components/shared/three/indicators/GuardIndicator.d.ts.map +1 -0
- package/lib/components/shared/three/indicators/GuardIndicator.js +259 -0
- package/lib/components/shared/three/indicators/GuardIndicator.js.map +1 -0
- package/lib/components/shared/three/indicators/HapticFeedback.d.ts +184 -0
- package/lib/components/shared/three/indicators/HapticFeedback.d.ts.map +1 -0
- package/lib/components/shared/three/indicators/HapticFeedback.js +46 -0
- package/lib/components/shared/three/indicators/HapticFeedback.js.map +1 -0
- package/lib/components/shared/three/indicators/StanceChangeIndicator.d.ts +53 -0
- package/lib/components/shared/three/indicators/StanceChangeIndicator.d.ts.map +1 -0
- package/lib/components/shared/three/indicators/StanceChangeIndicator.js +222 -0
- package/lib/components/shared/three/indicators/StanceChangeIndicator.js.map +1 -0
- package/lib/components/shared/three/indicators/TrigramSymbol3D.d.ts +82 -0
- package/lib/components/shared/three/indicators/TrigramSymbol3D.d.ts.map +1 -0
- package/lib/components/shared/three/models/Player3DWithTransitions.d.ts +77 -0
- package/lib/components/shared/three/models/Player3DWithTransitions.d.ts.map +1 -0
- package/lib/components/shared/three/models/Player3DWithTransitions.js +118 -0
- package/lib/components/shared/three/models/Player3DWithTransitions.js.map +1 -0
- package/lib/components/shared/three/models/SkeletalPlayer3D.d.ts +44 -0
- package/lib/components/shared/three/models/SkeletalPlayer3D.d.ts.map +1 -0
- package/lib/components/shared/three/models/SkeletalPlayer3D.js +358 -0
- package/lib/components/shared/three/models/SkeletalPlayer3D.js.map +1 -0
- package/lib/components/shared/three/optimization/AdaptiveQuality.d.ts +107 -0
- package/lib/components/shared/three/optimization/AdaptiveQuality.d.ts.map +1 -0
- package/lib/components/shared/three/optimization/AdaptiveQuality.js +197 -0
- package/lib/components/shared/three/optimization/AdaptiveQuality.js.map +1 -0
- package/lib/components/shared/three/optimization/InstancedGeometry.d.ts +189 -0
- package/lib/components/shared/three/optimization/InstancedGeometry.d.ts.map +1 -0
- package/lib/components/shared/three/optimization/InstancedGeometry.js +3 -0
- package/lib/components/shared/three/optimization/LODSystem.d.ts +126 -0
- package/lib/components/shared/three/optimization/LODSystem.d.ts.map +1 -0
- package/lib/components/shared/three/optimization/LODSystem.js +3 -0
- package/lib/components/shared/three/optimization/index.d.ts +14 -0
- package/lib/components/shared/three/optimization/index.d.ts.map +1 -0
- package/lib/components/shared/three/optimization/index.js +3 -0
- package/lib/components/shared/three/scene/AtmosphericParticles3D.d.ts +31 -0
- package/lib/components/shared/three/scene/AtmosphericParticles3D.d.ts.map +1 -0
- package/lib/components/shared/three/scene/AtmosphericParticles3D.js +84 -0
- package/lib/components/shared/three/scene/AtmosphericParticles3D.js.map +1 -0
- package/lib/components/shared/three/scene/BackgroundScene3D.d.ts +76 -0
- package/lib/components/shared/three/scene/BackgroundScene3D.d.ts.map +1 -0
- package/lib/components/shared/three/scene/BackgroundScene3D.js +124 -0
- package/lib/components/shared/three/scene/BackgroundScene3D.js.map +1 -0
- package/lib/components/shared/three/scene/CombatArena3D.d.ts +38 -0
- package/lib/components/shared/three/scene/CombatArena3D.d.ts.map +1 -0
- package/lib/components/shared/three/scene/CombatArena3D.js +256 -0
- package/lib/components/shared/three/scene/CombatArena3D.js.map +1 -0
- package/lib/components/shared/three/scene/DebugCollision.d.ts +64 -0
- package/lib/components/shared/three/scene/DebugCollision.d.ts.map +1 -0
- package/lib/components/shared/three/scene/KoreanSignage3D.d.ts +29 -0
- package/lib/components/shared/three/scene/KoreanSignage3D.d.ts.map +1 -0
- package/lib/components/shared/three/scene/KoreanSignage3D.js +122 -0
- package/lib/components/shared/three/scene/KoreanSignage3D.js.map +1 -0
- package/lib/components/shared/three/ui/ArchetypeCard.d.ts +38 -0
- package/lib/components/shared/three/ui/ArchetypeCard.d.ts.map +1 -0
- package/lib/components/shared/three/ui/ArchetypeCard.js +213 -0
- package/lib/components/shared/three/ui/ArchetypeCard.js.map +1 -0
- package/lib/components/shared/three/ui/BodyPartHealthDisplay.d.ts +45 -0
- package/lib/components/shared/three/ui/BodyPartHealthDisplay.d.ts.map +1 -0
- package/lib/components/shared/three/ui/BodyPartHealthDisplay.js +206 -0
- package/lib/components/shared/three/ui/BodyPartHealthDisplay.js.map +1 -0
- package/lib/components/shared/three/ui/BreathingIndicator.d.ts +25 -0
- package/lib/components/shared/three/ui/BreathingIndicator.d.ts.map +1 -0
- package/lib/components/shared/three/ui/BreathingIndicator2.js +104 -0
- package/lib/components/shared/three/ui/BreathingIndicator2.js.map +1 -0
- package/lib/components/shared/three/ui/CombatReadinessBar.d.ts +43 -0
- package/lib/components/shared/three/ui/CombatReadinessBar.d.ts.map +1 -0
- package/lib/components/shared/three/ui/CombatReadinessBar.js +135 -0
- package/lib/components/shared/three/ui/CombatReadinessBar.js.map +1 -0
- package/lib/components/shared/three/ui/ComboCounter.d.ts +42 -0
- package/lib/components/shared/three/ui/ComboCounter.d.ts.map +1 -0
- package/lib/components/shared/three/ui/ComboCounter.js +222 -0
- package/lib/components/shared/three/ui/ComboCounter.js.map +1 -0
- package/lib/components/shared/three/ui/HealthBar.d.ts +37 -0
- package/lib/components/shared/three/ui/HealthBar.d.ts.map +1 -0
- package/lib/components/shared/three/ui/HealthBar.js +112 -0
- package/lib/components/shared/three/ui/HealthBar.js.map +1 -0
- package/lib/components/shared/three/ui/KoreanButton.d.ts +37 -0
- package/lib/components/shared/three/ui/KoreanButton.d.ts.map +1 -0
- package/lib/components/shared/three/ui/KoreanButton.js +33 -0
- package/lib/components/shared/three/ui/KoreanButton.js.map +1 -0
- package/lib/components/shared/three/ui/KoreanPanel.d.ts +32 -0
- package/lib/components/shared/three/ui/KoreanPanel.d.ts.map +1 -0
- package/lib/components/shared/three/ui/KoreanPanel.js +29 -0
- package/lib/components/shared/three/ui/KoreanPanel.js.map +1 -0
- package/lib/components/shared/three/ui/KoreanText.d.ts +35 -0
- package/lib/components/shared/three/ui/KoreanText.d.ts.map +1 -0
- package/lib/components/shared/three/ui/KoreanText.js +32 -0
- package/lib/components/shared/three/ui/KoreanText.js.map +1 -0
- package/lib/components/shared/three/ui/MenuList.d.ts +47 -0
- package/lib/components/shared/three/ui/MenuList.d.ts.map +1 -0
- package/lib/components/shared/three/ui/MenuList.js +123 -0
- package/lib/components/shared/three/ui/MenuList.js.map +1 -0
- package/lib/components/shared/three/ui/PlayerHUD.d.ts +34 -0
- package/lib/components/shared/three/ui/PlayerHUD.d.ts.map +1 -0
- package/lib/components/shared/three/ui/PlayerHUD.js +231 -0
- package/lib/components/shared/three/ui/PlayerHUD.js.map +1 -0
- package/lib/components/shared/three/ui/ProgressBar.d.ts +48 -0
- package/lib/components/shared/three/ui/ProgressBar.d.ts.map +1 -0
- package/lib/components/shared/three/ui/ProgressBar.js +173 -0
- package/lib/components/shared/three/ui/ProgressBar.js.map +1 -0
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.d.ts +62 -0
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.d.ts.map +1 -0
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.js +185 -0
- package/lib/components/shared/three/ui/SpeedIndicatorHUD.js.map +1 -0
- package/lib/components/shared/three/ui/StaminaBar.d.ts +37 -0
- package/lib/components/shared/three/ui/StaminaBar.d.ts.map +1 -0
- package/lib/components/shared/three/ui/StaminaBar.js +103 -0
- package/lib/components/shared/three/ui/StaminaBar.js.map +1 -0
- package/lib/components/shared/three/ui/TechniqueBar.d.ts +52 -0
- package/lib/components/shared/three/ui/TechniqueBar.d.ts.map +1 -0
- package/lib/components/shared/three/ui/TechniqueBar.js +128 -0
- package/lib/components/shared/three/ui/TechniqueBar.js.map +1 -0
- package/lib/components/shared/three/ui/TechniqueBarContainer.d.ts +49 -0
- package/lib/components/shared/three/ui/TechniqueBarContainer.d.ts.map +1 -0
- package/lib/components/shared/three/ui/TechniqueCard.d.ts +64 -0
- package/lib/components/shared/three/ui/TechniqueCard.d.ts.map +1 -0
- package/lib/components/shared/three/ui/TechniqueCard.js +333 -0
- package/lib/components/shared/three/ui/TechniqueCard.js.map +1 -0
- package/lib/components/shared/three/ui/VitalPointOverlayControlsHtml.d.ts +76 -0
- package/lib/components/shared/three/ui/VitalPointOverlayControlsHtml.d.ts.map +1 -0
- package/lib/components/shared/three/ui/VitalPointOverlayControlsHtml.js +551 -0
- package/lib/components/shared/three/ui/VitalPointOverlayControlsHtml.js.map +1 -0
- package/lib/components/shared/three/ui/VulnerabilityWindowHUD.d.ts +63 -0
- package/lib/components/shared/three/ui/VulnerabilityWindowHUD.d.ts.map +1 -0
- package/lib/components/shared/ui/BackButton.d.ts +82 -0
- package/lib/components/shared/ui/BackButton.d.ts.map +1 -0
- package/lib/components/shared/ui/BackButton.js +67 -0
- package/lib/components/shared/ui/BackButton.js.map +1 -0
- package/lib/components/shared/ui/BaseHUDContainer.d.ts +71 -0
- package/lib/components/shared/ui/BaseHUDContainer.d.ts.map +1 -0
- package/lib/components/shared/ui/BaseHUDContainer.js +126 -0
- package/lib/components/shared/ui/BaseHUDContainer.js.map +1 -0
- package/lib/components/shared/ui/CombatTimer.d.ts +60 -0
- package/lib/components/shared/ui/CombatTimer.d.ts.map +1 -0
- package/lib/components/shared/ui/CombatTimer.js +145 -0
- package/lib/components/shared/ui/CombatTimer.js.map +1 -0
- package/lib/components/shared/ui/ErrorBoundary.d.ts +44 -0
- package/lib/components/shared/ui/ErrorBoundary.d.ts.map +1 -0
- package/lib/components/shared/ui/ErrorModal.d.ts +21 -0
- package/lib/components/shared/ui/ErrorModal.d.ts.map +1 -0
- package/lib/components/shared/ui/ErrorModal.js +133 -0
- package/lib/components/shared/ui/ErrorModal.js.map +1 -0
- package/lib/components/shared/ui/HUDSection.d.ts +65 -0
- package/lib/components/shared/ui/HUDSection.d.ts.map +1 -0
- package/lib/components/shared/ui/LoadingState.d.ts +50 -0
- package/lib/components/shared/ui/LoadingState.d.ts.map +1 -0
- package/lib/components/shared/ui/LoadingState.js +92 -0
- package/lib/components/shared/ui/LoadingState.js.map +1 -0
- package/lib/components/shared/ui/MobileHUDLayout.d.ts +70 -0
- package/lib/components/shared/ui/MobileHUDLayout.d.ts.map +1 -0
- package/lib/components/shared/ui/ResponsiveContainer.d.ts +69 -0
- package/lib/components/shared/ui/ResponsiveContainer.d.ts.map +1 -0
- package/lib/components/shared/ui/SplashScreen.d.ts +13 -0
- package/lib/components/shared/ui/SplashScreen.d.ts.map +1 -0
- package/lib/components/shared/ui/SplashScreen.js +204 -0
- package/lib/components/shared/ui/SplashScreen.js.map +1 -0
- package/lib/components/shared/ui/StyledHUDPanel.d.ts +56 -0
- package/lib/components/shared/ui/StyledHUDPanel.d.ts.map +1 -0
- package/lib/components/shared/ui/VitalPointOverlayControlsPure.d.ts +79 -0
- package/lib/components/shared/ui/VitalPointOverlayControlsPure.d.ts.map +1 -0
- package/lib/components/shared/ui/VitalPointOverlayControlsPure.js +550 -0
- package/lib/components/shared/ui/VitalPointOverlayControlsPure.js.map +1 -0
- package/lib/components/shared/ui/VolumeControl.d.ts +20 -0
- package/lib/components/shared/ui/VolumeControl.d.ts.map +1 -0
- package/lib/components/shared/ui/VolumeControl.js +292 -0
- package/lib/components/shared/ui/VolumeControl.js.map +1 -0
- package/lib/components/shared/ui/shared/ConfirmDialog.d.ts +29 -0
- package/lib/components/shared/ui/shared/ConfirmDialog.d.ts.map +1 -0
- package/lib/components/shared/ui/shared/ConfirmDialog.js +149 -0
- package/lib/components/shared/ui/shared/ConfirmDialog.js.map +1 -0
- package/lib/components/test/Hello3D.d.ts +36 -0
- package/lib/components/test/Hello3D.d.ts.map +1 -0
- package/lib/components/ui/combat/BalanceIndicatorOverlayHtml.d.ts +63 -0
- package/lib/components/ui/combat/BalanceIndicatorOverlayHtml.d.ts.map +1 -0
- package/lib/components/ui/combat/BalanceIndicatorOverlayHtml.js +179 -0
- package/lib/components/ui/combat/BalanceIndicatorOverlayHtml.js.map +1 -0
- package/lib/components/ui/combat/ComboCounter.d.ts +85 -0
- package/lib/components/ui/combat/ComboCounter.d.ts.map +1 -0
- package/lib/components/ui/combat/PressureMeter.d.ts +60 -0
- package/lib/components/ui/combat/PressureMeter.d.ts.map +1 -0
- package/lib/components/ui/combat/index.d.ts +8 -0
- package/lib/components/ui/combat/index.d.ts.map +1 -0
- package/lib/constants/bodyDimensions.d.ts +241 -0
- package/lib/constants/bodyDimensions.d.ts.map +1 -0
- package/lib/constants/bodyDimensions.js +213 -0
- package/lib/constants/bodyDimensions.js.map +1 -0
- package/lib/constants/bodyRenderingConstants.d.ts +295 -0
- package/lib/constants/bodyRenderingConstants.d.ts.map +1 -0
- package/lib/constants/bodyRenderingConstants.js +128 -0
- package/lib/constants/bodyRenderingConstants.js.map +1 -0
- package/lib/data/archetypeClothing.d.ts +40 -0
- package/lib/data/archetypeClothing.d.ts.map +1 -0
- package/lib/data/archetypeClothing.js +584 -0
- package/lib/data/archetypeClothing.js.map +1 -0
- package/lib/data/archetypePhysicalAttributes.d.ts +279 -0
- package/lib/data/archetypePhysicalAttributes.d.ts.map +1 -0
- package/lib/data/archetypePhysicalAttributes.js +227 -0
- package/lib/data/archetypePhysicalAttributes.js.map +1 -0
- package/lib/data/techniqueMappings.d.ts +64 -0
- package/lib/data/techniqueMappings.d.ts.map +1 -0
- package/lib/data/techniqueMappings.js +56 -0
- package/lib/data/techniqueMappings.js.map +1 -0
- package/lib/data/techniques.d.ts +84 -0
- package/lib/data/techniques.d.ts.map +1 -0
- package/lib/data/techniques.js +739 -0
- package/lib/data/techniques.js.map +1 -0
- package/lib/hooks/useActionFeedback.d.ts +114 -0
- package/lib/hooks/useActionFeedback.d.ts.map +1 -0
- package/lib/hooks/useActionFeedback.js +158 -0
- package/lib/hooks/useActionFeedback.js.map +1 -0
- package/lib/hooks/useBalanceAnimations.d.ts +62 -0
- package/lib/hooks/useBalanceAnimations.d.ts.map +1 -0
- package/lib/hooks/useBalanceAnimations.js +133 -0
- package/lib/hooks/useBalanceAnimations.js.map +1 -0
- package/lib/hooks/useCombatTimer.d.ts +77 -0
- package/lib/hooks/useCombatTimer.d.ts.map +1 -0
- package/lib/hooks/useCombatTimer.js +139 -0
- package/lib/hooks/useCombatTimer.js.map +1 -0
- package/lib/hooks/useDebounce.d.ts +30 -0
- package/lib/hooks/useDebounce.d.ts.map +1 -0
- package/lib/hooks/useHUDLayout.d.ts +67 -0
- package/lib/hooks/useHUDLayout.d.ts.map +1 -0
- package/lib/hooks/useHUDLayout.js +92 -0
- package/lib/hooks/useHUDLayout.js.map +1 -0
- package/lib/hooks/useHandPoseTransitions.d.ts +65 -0
- package/lib/hooks/useHandPoseTransitions.d.ts.map +1 -0
- package/lib/hooks/useHandPoseTransitions.js +127 -0
- package/lib/hooks/useHandPoseTransitions.js.map +1 -0
- package/lib/hooks/useKeyboardControls.d.ts +73 -0
- package/lib/hooks/useKeyboardControls.d.ts.map +1 -0
- package/lib/hooks/useKeyboardControls.js +311 -0
- package/lib/hooks/useKeyboardControls.js.map +1 -0
- package/lib/hooks/useMatchCountdown.d.ts +87 -0
- package/lib/hooks/useMatchCountdown.d.ts.map +1 -0
- package/lib/hooks/useMatchCountdown.js +162 -0
- package/lib/hooks/useMatchCountdown.js.map +1 -0
- package/lib/hooks/useMuscleActivation.d.ts +76 -0
- package/lib/hooks/useMuscleActivation.d.ts.map +1 -0
- package/lib/hooks/useMuscleActivation.js +99 -0
- package/lib/hooks/useMuscleActivation.js.map +1 -0
- package/lib/hooks/usePauseMenu.d.ts +32 -0
- package/lib/hooks/usePauseMenu.d.ts.map +1 -0
- package/lib/hooks/usePlayerAnimation.d.ts +188 -0
- package/lib/hooks/usePlayerAnimation.d.ts.map +1 -0
- package/lib/hooks/usePlayerAnimation.js +145 -0
- package/lib/hooks/usePlayerAnimation.js.map +1 -0
- package/lib/hooks/useResponsiveLayout.d.ts +184 -0
- package/lib/hooks/useResponsiveLayout.d.ts.map +1 -0
- package/lib/hooks/useRoundTransition.d.ts +87 -0
- package/lib/hooks/useRoundTransition.d.ts.map +1 -0
- package/lib/hooks/useRoundTransition.js +158 -0
- package/lib/hooks/useRoundTransition.js.map +1 -0
- package/lib/hooks/useSkeletalAnimation.d.ts +88 -0
- package/lib/hooks/useSkeletalAnimation.d.ts.map +1 -0
- package/lib/hooks/useSkeletalAnimation.js +176 -0
- package/lib/hooks/useSkeletalAnimation.js.map +1 -0
- package/lib/hooks/useTechniqueSelection.d.ts +73 -0
- package/lib/hooks/useTechniqueSelection.d.ts.map +1 -0
- package/lib/hooks/useTechniqueSelection.js +190 -0
- package/lib/hooks/useTechniqueSelection.js.map +1 -0
- package/lib/hooks/useThrottle.d.ts +30 -0
- package/lib/hooks/useThrottle.d.ts.map +1 -0
- package/lib/hooks/useThrottle.js +61 -0
- package/lib/hooks/useThrottle.js.map +1 -0
- package/lib/hooks/useTouchControls.d.ts +107 -0
- package/lib/hooks/useTouchControls.d.ts.map +1 -0
- package/lib/hooks/useTouchControls.js +260 -0
- package/lib/hooks/useTouchControls.js.map +1 -0
- package/lib/hooks/useWebGLContextLossHandler.d.ts +77 -0
- package/lib/hooks/useWebGLContextLossHandler.d.ts.map +1 -0
- package/lib/hooks/useWebGLContextLossHandler.js +119 -0
- package/lib/hooks/useWebGLContextLossHandler.js.map +1 -0
- package/lib/hooks/useWindowSize.d.ts +60 -0
- package/lib/hooks/useWindowSize.d.ts.map +1 -0
- package/lib/hooks/useWindowSize.js +62 -0
- package/lib/hooks/useWindowSize.js.map +1 -0
- package/lib/index.d.ts +21 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +114 -0
- package/lib/systems/CombatSystem.d.ts +348 -0
- package/lib/systems/CombatSystem.d.ts.map +1 -0
- package/lib/systems/CombatSystem.js +877 -0
- package/lib/systems/CombatSystem.js.map +1 -0
- package/lib/systems/EffectCalculator.d.ts +176 -0
- package/lib/systems/EffectCalculator.d.ts.map +1 -0
- package/lib/systems/EffectCalculator.js +251 -0
- package/lib/systems/EffectCalculator.js.map +1 -0
- package/lib/systems/LayoutSystem.d.ts +250 -0
- package/lib/systems/LayoutSystem.d.ts.map +1 -0
- package/lib/systems/LayoutSystem.js +337 -0
- package/lib/systems/LayoutSystem.js.map +1 -0
- package/lib/systems/PlayerEffectManager.d.ts +210 -0
- package/lib/systems/PlayerEffectManager.d.ts.map +1 -0
- package/lib/systems/PlayerEffectManager.js +178 -0
- package/lib/systems/PlayerEffectManager.js.map +1 -0
- package/lib/systems/ResponsiveScaling.d.ts +298 -0
- package/lib/systems/ResponsiveScaling.d.ts.map +1 -0
- package/lib/systems/ResponsiveScaling.js +376 -0
- package/lib/systems/ResponsiveScaling.js.map +1 -0
- package/lib/systems/TrigramSystem.d.ts +388 -0
- package/lib/systems/TrigramSystem.d.ts.map +1 -0
- package/lib/systems/TrigramSystem.js +512 -0
- package/lib/systems/TrigramSystem.js.map +1 -0
- package/lib/systems/VitalPointSystem.d.ts +330 -0
- package/lib/systems/VitalPointSystem.d.ts.map +1 -0
- package/lib/systems/VitalPointSystem.js +455 -0
- package/lib/systems/VitalPointSystem.js.map +1 -0
- package/lib/systems/ai/AIPersonality.d.ts +133 -0
- package/lib/systems/ai/AIPersonality.d.ts.map +1 -0
- package/lib/systems/ai/AIPersonality.js +245 -0
- package/lib/systems/ai/AIPersonality.js.map +1 -0
- package/lib/systems/ai/AdaptiveDifficulty.d.ts +159 -0
- package/lib/systems/ai/AdaptiveDifficulty.d.ts.map +1 -0
- package/lib/systems/ai/AdaptiveDifficulty.js +297 -0
- package/lib/systems/ai/AdaptiveDifficulty.js.map +1 -0
- package/lib/systems/ai/ArchetypeEnforcer.d.ts +132 -0
- package/lib/systems/ai/ArchetypeEnforcer.d.ts.map +1 -0
- package/lib/systems/ai/ArchetypeEnforcer.js +279 -0
- package/lib/systems/ai/ArchetypeEnforcer.js.map +1 -0
- package/lib/systems/ai/ComboSystem.d.ts +136 -0
- package/lib/systems/ai/ComboSystem.d.ts.map +1 -0
- package/lib/systems/ai/ComboSystem.js +384 -0
- package/lib/systems/ai/ComboSystem.js.map +1 -0
- package/lib/systems/ai/DecisionTree.d.ts +563 -0
- package/lib/systems/ai/DecisionTree.d.ts.map +1 -0
- package/lib/systems/ai/DecisionTree.js +1516 -0
- package/lib/systems/ai/DecisionTree.js.map +1 -0
- package/lib/systems/ai/TrainingAI.d.ts +132 -0
- package/lib/systems/ai/TrainingAI.d.ts.map +1 -0
- package/lib/systems/ai/TrainingAI.js +265 -0
- package/lib/systems/ai/TrainingAI.js.map +1 -0
- package/lib/systems/ai/__tests__/AI-Performance.bench.d.ts +19 -0
- package/lib/systems/ai/__tests__/AI-Performance.bench.d.ts.map +1 -0
- package/lib/systems/ai/index.d.ts +12 -0
- package/lib/systems/ai/index.d.ts.map +1 -0
- package/lib/systems/ai/index.js +7 -0
- package/lib/systems/ai/types.d.ts +111 -0
- package/lib/systems/ai/types.d.ts.map +1 -0
- package/lib/systems/ai/types.js +24 -0
- package/lib/systems/ai/types.js.map +1 -0
- package/lib/systems/animation/AnimationCategory.d.ts +64 -0
- package/lib/systems/animation/AnimationCategory.d.ts.map +1 -0
- package/lib/systems/animation/builders/AnimationBuilder.d.ts +288 -0
- package/lib/systems/animation/builders/AnimationBuilder.d.ts.map +1 -0
- package/lib/systems/animation/builders/AnimationBuilder.js +261 -0
- package/lib/systems/animation/builders/AnimationBuilder.js.map +1 -0
- package/lib/systems/animation/builders/AnimationFactoryPresets.d.ts +280 -0
- package/lib/systems/animation/builders/AnimationFactoryPresets.d.ts.map +1 -0
- package/lib/systems/animation/builders/AnimationFactoryPresets.js +234 -0
- package/lib/systems/animation/builders/AnimationFactoryPresets.js.map +1 -0
- package/lib/systems/animation/builders/HandPoseApplicator.d.ts +56 -0
- package/lib/systems/animation/builders/HandPoseApplicator.d.ts.map +1 -0
- package/lib/systems/animation/builders/HandPoseApplicator.js +130 -0
- package/lib/systems/animation/builders/HandPoseApplicator.js.map +1 -0
- package/lib/systems/animation/builders/HandPoses.d.ts +186 -0
- package/lib/systems/animation/builders/HandPoses.d.ts.map +1 -0
- package/lib/systems/animation/builders/HandPoses.js +509 -0
- package/lib/systems/animation/builders/HandPoses.js.map +1 -0
- package/lib/systems/animation/builders/KeyframeConfig.d.ts +207 -0
- package/lib/systems/animation/builders/KeyframeConfig.d.ts.map +1 -0
- package/lib/systems/animation/builders/KeyframeConfig.js +264 -0
- package/lib/systems/animation/builders/KeyframeConfig.js.map +1 -0
- package/lib/systems/animation/builders/KeyframeInterpolation.d.ts +491 -0
- package/lib/systems/animation/builders/KeyframeInterpolation.d.ts.map +1 -0
- package/lib/systems/animation/builders/KeyframeInterpolation.js +252 -0
- package/lib/systems/animation/builders/KeyframeInterpolation.js.map +1 -0
- package/lib/systems/animation/builders/KickPhaseApplicator.d.ts +119 -0
- package/lib/systems/animation/builders/KickPhaseApplicator.d.ts.map +1 -0
- package/lib/systems/animation/builders/KickPhaseApplicator.js +119 -0
- package/lib/systems/animation/builders/KickPhaseApplicator.js.map +1 -0
- package/lib/systems/animation/builders/KoreanGuardPositions.d.ts +208 -0
- package/lib/systems/animation/builders/KoreanGuardPositions.d.ts.map +1 -0
- package/lib/systems/animation/builders/KoreanGuardPositions.js +267 -0
- package/lib/systems/animation/builders/KoreanGuardPositions.js.map +1 -0
- package/lib/systems/animation/builders/MartialArtsAnimationBuilder.d.ts +1310 -0
- package/lib/systems/animation/builders/MartialArtsAnimationBuilder.d.ts.map +1 -0
- package/lib/systems/animation/builders/MartialArtsAnimationBuilder.js +2857 -0
- package/lib/systems/animation/builders/MartialArtsAnimationBuilder.js.map +1 -0
- package/lib/systems/animation/builders/MartialArtsConstants.d.ts +1034 -0
- package/lib/systems/animation/builders/MartialArtsConstants.d.ts.map +1 -0
- package/lib/systems/animation/builders/MartialArtsConstants.js +1644 -0
- package/lib/systems/animation/builders/MartialArtsConstants.js.map +1 -0
- package/lib/systems/animation/builders/MartialPoseApplicator.d.ts +54 -0
- package/lib/systems/animation/builders/MartialPoseApplicator.d.ts.map +1 -0
- package/lib/systems/animation/builders/MartialPoseApplicator.js +54 -0
- package/lib/systems/animation/builders/MartialPoseApplicator.js.map +1 -0
- package/lib/systems/animation/builders/PunchPhaseApplicator.d.ts +73 -0
- package/lib/systems/animation/builders/PunchPhaseApplicator.d.ts.map +1 -0
- package/lib/systems/animation/builders/PunchPhaseApplicator.js +68 -0
- package/lib/systems/animation/builders/PunchPhaseApplicator.js.map +1 -0
- package/lib/systems/animation/builders/SkeletonRig.d.ts +321 -0
- package/lib/systems/animation/builders/SkeletonRig.d.ts.map +1 -0
- package/lib/systems/animation/builders/SkeletonRig.js +330 -0
- package/lib/systems/animation/builders/SkeletonRig.js.map +1 -0
- package/lib/systems/animation/builders/TrigramGuardApplicator.d.ts +99 -0
- package/lib/systems/animation/builders/TrigramGuardApplicator.d.ts.map +1 -0
- package/lib/systems/animation/builders/TrigramGuardApplicator.js +185 -0
- package/lib/systems/animation/builders/TrigramGuardApplicator.js.map +1 -0
- package/lib/systems/animation/builders/index.d.ts +23 -0
- package/lib/systems/animation/builders/index.d.ts.map +1 -0
- package/lib/systems/animation/builders/index.js +13 -0
- package/lib/systems/animation/catalogs/AttackAnimations.d.ts +523 -0
- package/lib/systems/animation/catalogs/AttackAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/AttackAnimations.js +537 -0
- package/lib/systems/animation/catalogs/AttackAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/BasicAnimations.d.ts +84 -0
- package/lib/systems/animation/catalogs/BasicAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/BasicAnimations.js +92 -0
- package/lib/systems/animation/catalogs/BasicAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/ComboAnimations.d.ts +370 -0
- package/lib/systems/animation/catalogs/ComboAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/ComboAnimations.js +400 -0
- package/lib/systems/animation/catalogs/ComboAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/DarkOpsAnimations.d.ts +301 -0
- package/lib/systems/animation/catalogs/DarkOpsAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/DarkOpsAnimations.js +322 -0
- package/lib/systems/animation/catalogs/DarkOpsAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/DefensiveAnimations.d.ts +134 -0
- package/lib/systems/animation/catalogs/DefensiveAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/DefensiveAnimations.js +142 -0
- package/lib/systems/animation/catalogs/DefensiveAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/ElbowKneeAnimations.d.ts +437 -0
- package/lib/systems/animation/catalogs/ElbowKneeAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/ElbowKneeAnimations.js +452 -0
- package/lib/systems/animation/catalogs/ElbowKneeAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/EnhancedAttackAnimations.d.ts +146 -0
- package/lib/systems/animation/catalogs/EnhancedAttackAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/EnhancedAttackAnimations.js +100 -0
- package/lib/systems/animation/catalogs/EnhancedAttackAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/EnhancedElbowKneeAnimations.d.ts +81 -0
- package/lib/systems/animation/catalogs/EnhancedElbowKneeAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/EnhancedElbowKneeAnimations.js +94 -0
- package/lib/systems/animation/catalogs/EnhancedElbowKneeAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/FootworkSkeletalAnimations.d.ts +268 -0
- package/lib/systems/animation/catalogs/FootworkSkeletalAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/FootworkSkeletalAnimations.js +196 -0
- package/lib/systems/animation/catalogs/FootworkSkeletalAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GamRedirectionAnimations.d.ts +64 -0
- package/lib/systems/animation/catalogs/GamRedirectionAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GamRedirectionAnimations.js +68 -0
- package/lib/systems/animation/catalogs/GamRedirectionAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GamStanceAnimations.d.ts +111 -0
- package/lib/systems/animation/catalogs/GamStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GamStanceAnimations.js +9 -0
- package/lib/systems/animation/catalogs/GamStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GamTechniqueAnimations.d.ts +82 -0
- package/lib/systems/animation/catalogs/GamTechniqueAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GamTechniqueAnimations.js +55 -0
- package/lib/systems/animation/catalogs/GamTechniqueAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GanStanceAnimations.d.ts +122 -0
- package/lib/systems/animation/catalogs/GanStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GanStanceAnimations.js +135 -0
- package/lib/systems/animation/catalogs/GanStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GanTechniqueAnimations.d.ts +78 -0
- package/lib/systems/animation/catalogs/GanTechniqueAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GanTechniqueAnimations.js +83 -0
- package/lib/systems/animation/catalogs/GanTechniqueAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GeonStanceAnimations.d.ts +323 -0
- package/lib/systems/animation/catalogs/GeonStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GeonStanceAnimations.js +341 -0
- package/lib/systems/animation/catalogs/GeonStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GonGuardPoses.d.ts +84 -0
- package/lib/systems/animation/catalogs/GonGuardPoses.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GonGuardPoses.js +6 -0
- package/lib/systems/animation/catalogs/GonGuardPoses.js.map +1 -0
- package/lib/systems/animation/catalogs/GonStanceAnimations.d.ts +134 -0
- package/lib/systems/animation/catalogs/GonStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GonStanceAnimations.js +9 -0
- package/lib/systems/animation/catalogs/GonStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GonTechniqueAnimations.d.ts +265 -0
- package/lib/systems/animation/catalogs/GonTechniqueAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GonTechniqueAnimations.js +13 -0
- package/lib/systems/animation/catalogs/GonTechniqueAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/GrapplingAnimations.d.ts +452 -0
- package/lib/systems/animation/catalogs/GrapplingAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/GrapplingAnimations.js +475 -0
- package/lib/systems/animation/catalogs/GrapplingAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/JinStanceAnimations.d.ts +98 -0
- package/lib/systems/animation/catalogs/JinStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/JinStanceAnimations.js +111 -0
- package/lib/systems/animation/catalogs/JinStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/JinTechniqueAnimations.d.ts +80 -0
- package/lib/systems/animation/catalogs/JinTechniqueAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/JinTechniqueAnimations.js +89 -0
- package/lib/systems/animation/catalogs/JinTechniqueAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/KickAnimations.d.ts +916 -0
- package/lib/systems/animation/catalogs/KickAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/KickAnimations.js +929 -0
- package/lib/systems/animation/catalogs/KickAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/LiStanceAnimations.d.ts +140 -0
- package/lib/systems/animation/catalogs/LiStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/LiStanceAnimations.js +122 -0
- package/lib/systems/animation/catalogs/LiStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/LiTechniqueAnimations.d.ts +104 -0
- package/lib/systems/animation/catalogs/LiTechniqueAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/LiTechniqueAnimations.js +90 -0
- package/lib/systems/animation/catalogs/LiTechniqueAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/MovementAnimations.d.ts +344 -0
- package/lib/systems/animation/catalogs/MovementAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/MovementAnimations.js +371 -0
- package/lib/systems/animation/catalogs/MovementAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/PunchAnimations.d.ts +496 -0
- package/lib/systems/animation/catalogs/PunchAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/PunchAnimations.js +498 -0
- package/lib/systems/animation/catalogs/PunchAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/RecoveryAnimations.d.ts +184 -0
- package/lib/systems/animation/catalogs/RecoveryAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/RecoveryAnimations.js +465 -0
- package/lib/systems/animation/catalogs/RecoveryAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/SonStanceAnimations.d.ts +149 -0
- package/lib/systems/animation/catalogs/SonStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/SonStanceAnimations.js +131 -0
- package/lib/systems/animation/catalogs/SonStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/SonTechniqueAnimations.d.ts +90 -0
- package/lib/systems/animation/catalogs/SonTechniqueAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/SonTechniqueAnimations.js +95 -0
- package/lib/systems/animation/catalogs/SonTechniqueAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/SpecializedPunchAnimations.d.ts +178 -0
- package/lib/systems/animation/catalogs/SpecializedPunchAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/SpecializedPunchAnimations.js +188 -0
- package/lib/systems/animation/catalogs/SpecializedPunchAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/StanceAnimations.d.ts +687 -0
- package/lib/systems/animation/catalogs/StanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/StanceAnimations.js +840 -0
- package/lib/systems/animation/catalogs/StanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/StanceAttackAnimations.d.ts +483 -0
- package/lib/systems/animation/catalogs/StanceAttackAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/StanceAttackAnimations.js +2369 -0
- package/lib/systems/animation/catalogs/StanceAttackAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/StanceGuardPoses.d.ts +327 -0
- package/lib/systems/animation/catalogs/StanceGuardPoses.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/StanceGuardPoses.js +655 -0
- package/lib/systems/animation/catalogs/StanceGuardPoses.js.map +1 -0
- package/lib/systems/animation/catalogs/StanceIdleAnimations.d.ts +255 -0
- package/lib/systems/animation/catalogs/StanceIdleAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/StanceIdleAnimations.js +446 -0
- package/lib/systems/animation/catalogs/StanceIdleAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/StanceLocomotionAnimations.d.ts +207 -0
- package/lib/systems/animation/catalogs/StanceLocomotionAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/StanceLocomotionAnimations.js +309 -0
- package/lib/systems/animation/catalogs/StanceLocomotionAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/StepAnimations.d.ts +274 -0
- package/lib/systems/animation/catalogs/StepAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/StepAnimations.js +73 -0
- package/lib/systems/animation/catalogs/StepAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/StepSkeletalAnimations.d.ts +100 -0
- package/lib/systems/animation/catalogs/StepSkeletalAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/StepSkeletalAnimations.js +99 -0
- package/lib/systems/animation/catalogs/StepSkeletalAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/TaeJointLockAnimations.d.ts +170 -0
- package/lib/systems/animation/catalogs/TaeJointLockAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/TaeJointLockAnimations.js +141 -0
- package/lib/systems/animation/catalogs/TaeJointLockAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/TaeStanceAnimations.d.ts +120 -0
- package/lib/systems/animation/catalogs/TaeStanceAnimations.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/TaeStanceAnimations.js +139 -0
- package/lib/systems/animation/catalogs/TaeStanceAnimations.js.map +1 -0
- package/lib/systems/animation/catalogs/index.d.ts +43 -0
- package/lib/systems/animation/catalogs/index.d.ts.map +1 -0
- package/lib/systems/animation/catalogs/index.js +36 -0
- package/lib/systems/animation/constants/AnatomicalLimits.d.ts +234 -0
- package/lib/systems/animation/constants/AnatomicalLimits.d.ts.map +1 -0
- package/lib/systems/animation/constants/AnatomicalLimits.js +61 -0
- package/lib/systems/animation/constants/AnatomicalLimits.js.map +1 -0
- package/lib/systems/animation/constants/index.d.ts +13 -0
- package/lib/systems/animation/constants/index.d.ts.map +1 -0
- package/lib/systems/animation/core/AnimationHitTiming.d.ts +184 -0
- package/lib/systems/animation/core/AnimationHitTiming.d.ts.map +1 -0
- package/lib/systems/animation/core/AnimationHitTiming.js +766 -0
- package/lib/systems/animation/core/AnimationHitTiming.js.map +1 -0
- package/lib/systems/animation/core/AnimationOptimizations.d.ts +221 -0
- package/lib/systems/animation/core/AnimationOptimizations.d.ts.map +1 -0
- package/lib/systems/animation/core/AnimationOptimizations.js +322 -0
- package/lib/systems/animation/core/AnimationOptimizations.js.map +1 -0
- package/lib/systems/animation/core/AnimationPriority.d.ts +391 -0
- package/lib/systems/animation/core/AnimationPriority.d.ts.map +1 -0
- package/lib/systems/animation/core/AnimationPriority.js +349 -0
- package/lib/systems/animation/core/AnimationPriority.js.map +1 -0
- package/lib/systems/animation/core/AnimationRegistry.d.ts +220 -0
- package/lib/systems/animation/core/AnimationRegistry.d.ts.map +1 -0
- package/lib/systems/animation/core/AnimationRegistry.js +416 -0
- package/lib/systems/animation/core/AnimationRegistry.js.map +1 -0
- package/lib/systems/animation/core/AnimationStateMachine.d.ts +701 -0
- package/lib/systems/animation/core/AnimationStateMachine.d.ts.map +1 -0
- package/lib/systems/animation/core/AnimationStateMachine.js +1458 -0
- package/lib/systems/animation/core/AnimationStateMachine.js.map +1 -0
- package/lib/systems/animation/core/AnimationTransitions.d.ts +275 -0
- package/lib/systems/animation/core/AnimationTransitions.d.ts.map +1 -0
- package/lib/systems/animation/core/AnimationTransitions.js +920 -0
- package/lib/systems/animation/core/AnimationTransitions.js.map +1 -0
- package/lib/systems/animation/core/LateralityTransform.d.ts +120 -0
- package/lib/systems/animation/core/LateralityTransform.d.ts.map +1 -0
- package/lib/systems/animation/core/LateralityTransform.js +204 -0
- package/lib/systems/animation/core/LateralityTransform.js.map +1 -0
- package/lib/systems/animation/core/RecoveryPhaseEnhancer.d.ts +171 -0
- package/lib/systems/animation/core/RecoveryPhaseEnhancer.d.ts.map +1 -0
- package/lib/systems/animation/core/RecoveryPhaseEnhancer.js +122 -0
- package/lib/systems/animation/core/RecoveryPhaseEnhancer.js.map +1 -0
- package/lib/systems/animation/core/TechniqueAnimationMapper.d.ts +303 -0
- package/lib/systems/animation/core/TechniqueAnimationMapper.d.ts.map +1 -0
- package/lib/systems/animation/core/TechniqueAnimationMapper.js +770 -0
- package/lib/systems/animation/core/TechniqueAnimationMapper.js.map +1 -0
- package/lib/systems/animation/core/TechniqueAnimationMapping.d.ts +74 -0
- package/lib/systems/animation/core/TechniqueAnimationMapping.d.ts.map +1 -0
- package/lib/systems/animation/core/TechniqueAnimationMapping.js +1313 -0
- package/lib/systems/animation/core/TechniqueAnimationMapping.js.map +1 -0
- package/lib/systems/animation/core/TrigramAnimationMapping.d.ts +286 -0
- package/lib/systems/animation/core/TrigramAnimationMapping.d.ts.map +1 -0
- package/lib/systems/animation/core/TrigramAnimationMapping.js +6 -0
- package/lib/systems/animation/core/TrigramStanceTransitions.d.ts +186 -0
- package/lib/systems/animation/core/TrigramStanceTransitions.d.ts.map +1 -0
- package/lib/systems/animation/core/TrigramStanceTransitions.js +8 -0
- package/lib/systems/animation/core/TrigramStanceTransitions.js.map +1 -0
- package/lib/systems/animation/core/index.d.ts +23 -0
- package/lib/systems/animation/core/index.d.ts.map +1 -0
- package/lib/systems/animation/core/index.js +16 -0
- package/lib/systems/animation/core/types.d.ts +1360 -0
- package/lib/systems/animation/core/types.d.ts.map +1 -0
- package/lib/systems/animation/core/types.js +539 -0
- package/lib/systems/animation/core/types.js.map +1 -0
- package/lib/systems/animation/index.d.ts +16 -0
- package/lib/systems/animation/index.d.ts.map +1 -0
- package/lib/systems/animation/index.js +63 -0
- package/lib/systems/animation/systems/AdvancedJointMovements.d.ts +614 -0
- package/lib/systems/animation/systems/AdvancedJointMovements.d.ts.map +1 -0
- package/lib/systems/animation/systems/AdvancedJointMovements.js +95 -0
- package/lib/systems/animation/systems/AdvancedJointMovements.js.map +1 -0
- package/lib/systems/animation/systems/BodyFacingSystem.d.ts +331 -0
- package/lib/systems/animation/systems/BodyFacingSystem.d.ts.map +1 -0
- package/lib/systems/animation/systems/BodyFacingSystem.js +327 -0
- package/lib/systems/animation/systems/BodyFacingSystem.js.map +1 -0
- package/lib/systems/animation/systems/FacialExpressions.d.ts +167 -0
- package/lib/systems/animation/systems/FacialExpressions.d.ts.map +1 -0
- package/lib/systems/animation/systems/FacialExpressions.js +76 -0
- package/lib/systems/animation/systems/FacialExpressions.js.map +1 -0
- package/lib/systems/animation/systems/FallAnimations.d.ts +174 -0
- package/lib/systems/animation/systems/FallAnimations.d.ts.map +1 -0
- package/lib/systems/animation/systems/FallAnimations.js +104 -0
- package/lib/systems/animation/systems/FallAnimations.js.map +1 -0
- package/lib/systems/animation/systems/HeadMovements.d.ts +152 -0
- package/lib/systems/animation/systems/HeadMovements.d.ts.map +1 -0
- package/lib/systems/animation/systems/HeadMovements.js +2 -0
- package/lib/systems/animation/systems/MuscleActivation.d.ts +163 -0
- package/lib/systems/animation/systems/MuscleActivation.d.ts.map +1 -0
- package/lib/systems/animation/systems/MuscleActivation.js +427 -0
- package/lib/systems/animation/systems/MuscleActivation.js.map +1 -0
- package/lib/systems/animation/systems/RecoveryVisualization.d.ts +142 -0
- package/lib/systems/animation/systems/RecoveryVisualization.d.ts.map +1 -0
- package/lib/systems/animation/systems/RecoveryVisualization.js +1 -0
- package/lib/systems/animation/systems/index.d.ts +17 -0
- package/lib/systems/animation/systems/index.d.ts.map +1 -0
- package/lib/systems/animation/systems/index.js +7 -0
- package/lib/systems/animation/utils/AnimationMirror.d.ts +157 -0
- package/lib/systems/animation/utils/AnimationMirror.d.ts.map +1 -0
- package/lib/systems/animation/utils/AnimationMirror.js +30 -0
- package/lib/systems/animation/utils/AnimationMirror.js.map +1 -0
- package/lib/systems/audio/BoneImpactAudioSystem.d.ts +182 -0
- package/lib/systems/audio/BoneImpactAudioSystem.d.ts.map +1 -0
- package/lib/systems/audio/index.d.ts +7 -0
- package/lib/systems/audio/index.d.ts.map +1 -0
- package/lib/systems/bodypart/BodyPartDamageIntegration.d.ts +149 -0
- package/lib/systems/bodypart/BodyPartDamageIntegration.d.ts.map +1 -0
- package/lib/systems/bodypart/BodyPartDamageIntegration.js +38 -0
- package/lib/systems/bodypart/BodyPartDamageIntegration.js.map +1 -0
- package/lib/systems/bodypart/BodyPartHealthSystem.d.ts +233 -0
- package/lib/systems/bodypart/BodyPartHealthSystem.d.ts.map +1 -0
- package/lib/systems/bodypart/BodyPartHealthSystem.js +476 -0
- package/lib/systems/bodypart/BodyPartHealthSystem.js.map +1 -0
- package/lib/systems/bodypart/BodyPartPositionMapping.d.ts +116 -0
- package/lib/systems/bodypart/BodyPartPositionMapping.d.ts.map +1 -0
- package/lib/systems/bodypart/BodyPartPositionMapping.js +122 -0
- package/lib/systems/bodypart/BodyPartPositionMapping.js.map +1 -0
- package/lib/systems/bodypart/CombatInjuryIntegration.d.ts +191 -0
- package/lib/systems/bodypart/CombatInjuryIntegration.d.ts.map +1 -0
- package/lib/systems/bodypart/CombatInjuryIntegration.js +169 -0
- package/lib/systems/bodypart/CombatInjuryIntegration.js.map +1 -0
- package/lib/systems/bodypart/InjuryIntegration.d.ts +39 -0
- package/lib/systems/bodypart/InjuryIntegration.d.ts.map +1 -0
- package/lib/systems/bodypart/InjuryTracker.d.ts +256 -0
- package/lib/systems/bodypart/InjuryTracker.d.ts.map +1 -0
- package/lib/systems/bodypart/InjuryTracker.js +240 -0
- package/lib/systems/bodypart/InjuryTracker.js.map +1 -0
- package/lib/systems/bodypart/MovementPenaltySystem.d.ts +191 -0
- package/lib/systems/bodypart/MovementPenaltySystem.d.ts.map +1 -0
- package/lib/systems/bodypart/MovementPenaltySystem.js +255 -0
- package/lib/systems/bodypart/MovementPenaltySystem.js.map +1 -0
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.d.ts +137 -0
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.d.ts.map +1 -0
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.js +175 -0
- package/lib/systems/bodypart/PlayerInjuryTrackingManager.js.map +1 -0
- package/lib/systems/bodypart/index.d.ts +22 -0
- package/lib/systems/bodypart/index.d.ts.map +1 -0
- package/lib/systems/bodypart/index.js +8 -0
- package/lib/systems/bodypart/types.d.ts +453 -0
- package/lib/systems/bodypart/types.d.ts.map +1 -0
- package/lib/systems/bodypart/types.js +157 -0
- package/lib/systems/bodypart/types.js.map +1 -0
- package/lib/systems/breathing/BreathingDisruptionSystem.d.ts +289 -0
- package/lib/systems/breathing/BreathingDisruptionSystem.d.ts.map +1 -0
- package/lib/systems/breathing/BreathingDisruptionSystem.js +388 -0
- package/lib/systems/breathing/BreathingDisruptionSystem.js.map +1 -0
- package/lib/systems/breathing/feedback.d.ts +131 -0
- package/lib/systems/breathing/feedback.d.ts.map +1 -0
- package/lib/systems/breathing/feedback.js +80 -0
- package/lib/systems/breathing/feedback.js.map +1 -0
- package/lib/systems/breathing/index.d.ts +12 -0
- package/lib/systems/breathing/index.d.ts.map +1 -0
- package/lib/systems/breathing/index.js +3 -0
- package/lib/systems/breathing/integration.d.ts +140 -0
- package/lib/systems/breathing/integration.d.ts.map +1 -0
- package/lib/systems/breathing/integration.js +194 -0
- package/lib/systems/breathing/integration.js.map +1 -0
- package/lib/systems/combat/AICounterAttackIntegration.d.ts +223 -0
- package/lib/systems/combat/AICounterAttackIntegration.d.ts.map +1 -0
- package/lib/systems/combat/BalanceSystem.d.ts +667 -0
- package/lib/systems/combat/BalanceSystem.d.ts.map +1 -0
- package/lib/systems/combat/BalanceSystem.js +811 -0
- package/lib/systems/combat/BalanceSystem.js.map +1 -0
- package/lib/systems/combat/BreakingStatusEffects.d.ts +96 -0
- package/lib/systems/combat/BreakingStatusEffects.d.ts.map +1 -0
- package/lib/systems/combat/BreakingStatusEffects.js +60 -0
- package/lib/systems/combat/BreakingStatusEffects.js.map +1 -0
- package/lib/systems/combat/CombatStateSystem.d.ts +264 -0
- package/lib/systems/combat/CombatStateSystem.d.ts.map +1 -0
- package/lib/systems/combat/CombatStateSystem.js +353 -0
- package/lib/systems/combat/CombatStateSystem.js.map +1 -0
- package/lib/systems/combat/ConsciousnessSystem.d.ts +402 -0
- package/lib/systems/combat/ConsciousnessSystem.d.ts.map +1 -0
- package/lib/systems/combat/ConsciousnessSystem.js +529 -0
- package/lib/systems/combat/ConsciousnessSystem.js.map +1 -0
- package/lib/systems/combat/FallIntegration.d.ts +82 -0
- package/lib/systems/combat/FallIntegration.d.ts.map +1 -0
- package/lib/systems/combat/FallIntegration.js +100 -0
- package/lib/systems/combat/FallIntegration.js.map +1 -0
- package/lib/systems/combat/GrappleSystem.d.ts +264 -0
- package/lib/systems/combat/GrappleSystem.d.ts.map +1 -0
- package/lib/systems/combat/GrappleSystem.js +393 -0
- package/lib/systems/combat/GrappleSystem.js.map +1 -0
- package/lib/systems/combat/LimbExposureSystem.d.ts +150 -0
- package/lib/systems/combat/LimbExposureSystem.d.ts.map +1 -0
- package/lib/systems/combat/LimbExposureSystem.js +308 -0
- package/lib/systems/combat/LimbExposureSystem.js.map +1 -0
- package/lib/systems/combat/PainResponseSystem.d.ts +299 -0
- package/lib/systems/combat/PainResponseSystem.d.ts.map +1 -0
- package/lib/systems/combat/PainResponseSystem.js +401 -0
- package/lib/systems/combat/PainResponseSystem.js.map +1 -0
- package/lib/systems/combat/SlowMotionController.d.ts +123 -0
- package/lib/systems/combat/SlowMotionController.d.ts.map +1 -0
- package/lib/systems/combat/TrainingCombatSystem.d.ts +89 -0
- package/lib/systems/combat/TrainingCombatSystem.d.ts.map +1 -0
- package/lib/systems/combat/TrainingCombatSystem.js +224 -0
- package/lib/systems/combat/TrainingCombatSystem.js.map +1 -0
- package/lib/systems/combat/index.d.ts +16 -0
- package/lib/systems/combat/index.d.ts.map +1 -0
- package/lib/systems/combat/index.js +10 -0
- package/lib/systems/combat/painConsciousnessUtils.d.ts +147 -0
- package/lib/systems/combat/painConsciousnessUtils.d.ts.map +1 -0
- package/lib/systems/combat/painConsciousnessUtils.js +185 -0
- package/lib/systems/combat/painConsciousnessUtils.js.map +1 -0
- package/lib/systems/combat/typeGuards.d.ts +25 -0
- package/lib/systems/combat/typeGuards.d.ts.map +1 -0
- package/lib/systems/combat/typeGuards.js +39 -0
- package/lib/systems/combat/typeGuards.js.map +1 -0
- package/lib/systems/combat/types.d.ts +197 -0
- package/lib/systems/combat/types.d.ts.map +1 -0
- package/lib/systems/effects.d.ts +40 -0
- package/lib/systems/effects.d.ts.map +1 -0
- package/lib/systems/effects.js +44 -0
- package/lib/systems/effects.js.map +1 -0
- package/lib/systems/game.d.ts +77 -0
- package/lib/systems/game.d.ts.map +1 -0
- package/lib/systems/game.js +20 -0
- package/lib/systems/game.js.map +1 -0
- package/lib/systems/index.d.ts +24 -0
- package/lib/systems/index.d.ts.map +1 -0
- package/lib/systems/index.js +281 -0
- package/lib/systems/index.js.map +1 -0
- package/lib/systems/movement/InjuryMovementModifier.d.ts +275 -0
- package/lib/systems/movement/InjuryMovementModifier.d.ts.map +1 -0
- package/lib/systems/movement/InjuryMovementModifier.js +281 -0
- package/lib/systems/movement/InjuryMovementModifier.js.map +1 -0
- package/lib/systems/movement/helpers/AccelerationUpdater.d.ts +61 -0
- package/lib/systems/movement/helpers/AccelerationUpdater.d.ts.map +1 -0
- package/lib/systems/movement/helpers/AccelerationUpdater.js +75 -0
- package/lib/systems/movement/helpers/AccelerationUpdater.js.map +1 -0
- package/lib/systems/movement/helpers/accelerationUtils.d.ts +85 -0
- package/lib/systems/movement/helpers/accelerationUtils.d.ts.map +1 -0
- package/lib/systems/movement/helpers/accelerationUtils.js +86 -0
- package/lib/systems/movement/helpers/accelerationUtils.js.map +1 -0
- package/lib/systems/movement/index.d.ts +16 -0
- package/lib/systems/movement/index.d.ts.map +1 -0
- package/lib/systems/movement/integration.d.ts +91 -0
- package/lib/systems/movement/integration.d.ts.map +1 -0
- package/lib/systems/physics/AttackMovementPhysics.d.ts +283 -0
- package/lib/systems/physics/AttackMovementPhysics.d.ts.map +1 -0
- package/lib/systems/physics/AttackMovementPhysics.js +272 -0
- package/lib/systems/physics/AttackMovementPhysics.js.map +1 -0
- package/lib/systems/physics/CollisionDetection.d.ts +323 -0
- package/lib/systems/physics/CollisionDetection.d.ts.map +1 -0
- package/lib/systems/physics/CollisionDetection.js +543 -0
- package/lib/systems/physics/CollisionDetection.js.map +1 -0
- package/lib/systems/physics/CoordinateMapper.d.ts +203 -0
- package/lib/systems/physics/CoordinateMapper.d.ts.map +1 -0
- package/lib/systems/physics/CoordinateMapper.js +242 -0
- package/lib/systems/physics/CoordinateMapper.js.map +1 -0
- package/lib/systems/physics/KnockbackPhysics.d.ts +367 -0
- package/lib/systems/physics/KnockbackPhysics.d.ts.map +1 -0
- package/lib/systems/physics/KnockbackPhysics.js +338 -0
- package/lib/systems/physics/KnockbackPhysics.js.map +1 -0
- package/lib/systems/physics/MovementPhysics.d.ts +428 -0
- package/lib/systems/physics/MovementPhysics.d.ts.map +1 -0
- package/lib/systems/physics/MovementPhysics.js +488 -0
- package/lib/systems/physics/MovementPhysics.js.map +1 -0
- package/lib/systems/physics/PhysicalReachCalculator.d.ts +261 -0
- package/lib/systems/physics/PhysicalReachCalculator.d.ts.map +1 -0
- package/lib/systems/physics/PhysicalReachCalculator.js +226 -0
- package/lib/systems/physics/PhysicalReachCalculator.js.map +1 -0
- package/lib/systems/physics/SpeedModifierSystem.d.ts +302 -0
- package/lib/systems/physics/SpeedModifierSystem.d.ts.map +1 -0
- package/lib/systems/physics/SpeedModifierSystem.js +301 -0
- package/lib/systems/physics/SpeedModifierSystem.js.map +1 -0
- package/lib/systems/physics/__tests__/PhysicsPerformance.bench.d.ts +16 -0
- package/lib/systems/physics/__tests__/PhysicsPerformance.bench.d.ts.map +1 -0
- package/lib/systems/physics/index.d.ts +21 -0
- package/lib/systems/physics/index.d.ts.map +1 -0
- package/lib/systems/physics/index.js +7 -0
- package/lib/systems/player.d.ts +386 -0
- package/lib/systems/player.d.ts.map +1 -0
- package/lib/systems/trigram/KoreanCulture.d.ts +127 -0
- package/lib/systems/trigram/KoreanCulture.d.ts.map +1 -0
- package/lib/systems/trigram/KoreanCulture.js +194 -0
- package/lib/systems/trigram/KoreanCulture.js.map +1 -0
- package/lib/systems/trigram/KoreanTechniques.d.ts +59 -0
- package/lib/systems/trigram/KoreanTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/KoreanTechniques.js +140 -0
- package/lib/systems/trigram/KoreanTechniques.js.map +1 -0
- package/lib/systems/trigram/StanceManager.d.ts +90 -0
- package/lib/systems/trigram/StanceManager.d.ts.map +1 -0
- package/lib/systems/trigram/StanceManager.js +192 -0
- package/lib/systems/trigram/StanceManager.js.map +1 -0
- package/lib/systems/trigram/TransitionCalculator.d.ts +132 -0
- package/lib/systems/trigram/TransitionCalculator.d.ts.map +1 -0
- package/lib/systems/trigram/TransitionCalculator.js +233 -0
- package/lib/systems/trigram/TransitionCalculator.js.map +1 -0
- package/lib/systems/trigram/TrigramCalculator.d.ts +63 -0
- package/lib/systems/trigram/TrigramCalculator.d.ts.map +1 -0
- package/lib/systems/trigram/TrigramCalculator.js +148 -0
- package/lib/systems/trigram/TrigramCalculator.js.map +1 -0
- package/lib/systems/trigram/index.d.ts +12 -0
- package/lib/systems/trigram/index.d.ts.map +1 -0
- package/lib/systems/trigram/index.js +17 -0
- package/lib/systems/trigram/techniques/DarkOpsTechniques.d.ts +118 -0
- package/lib/systems/trigram/techniques/DarkOpsTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/DarkOpsTechniques.js +683 -0
- package/lib/systems/trigram/techniques/DarkOpsTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/GamTechniques.d.ts +44 -0
- package/lib/systems/trigram/techniques/GamTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/GamTechniques.js +293 -0
- package/lib/systems/trigram/techniques/GamTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/GanTechniques.d.ts +58 -0
- package/lib/systems/trigram/techniques/GanTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/GanTechniques.js +323 -0
- package/lib/systems/trigram/techniques/GanTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/GeonTechniques.d.ts +23 -0
- package/lib/systems/trigram/techniques/GeonTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/GeonTechniques.js +299 -0
- package/lib/systems/trigram/techniques/GeonTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/GonTechniques.d.ts +51 -0
- package/lib/systems/trigram/techniques/GonTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/GonTechniques.js +399 -0
- package/lib/systems/trigram/techniques/GonTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/JinTechniques.d.ts +23 -0
- package/lib/systems/trigram/techniques/JinTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/JinTechniques.js +253 -0
- package/lib/systems/trigram/techniques/JinTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/LiTechniques.d.ts +23 -0
- package/lib/systems/trigram/techniques/LiTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/LiTechniques.js +253 -0
- package/lib/systems/trigram/techniques/LiTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/SonTechniques.d.ts +43 -0
- package/lib/systems/trigram/techniques/SonTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/SonTechniques.js +293 -0
- package/lib/systems/trigram/techniques/SonTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/TaeTechniques.d.ts +23 -0
- package/lib/systems/trigram/techniques/TaeTechniques.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/TaeTechniques.js +292 -0
- package/lib/systems/trigram/techniques/TaeTechniques.js.map +1 -0
- package/lib/systems/trigram/techniques/TechniqueConfig.d.ts +403 -0
- package/lib/systems/trigram/techniques/TechniqueConfig.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/TechniqueConfig.js +493 -0
- package/lib/systems/trigram/techniques/TechniqueConfig.js.map +1 -0
- package/lib/systems/trigram/techniques/index.d.ts +54 -0
- package/lib/systems/trigram/techniques/index.d.ts.map +1 -0
- package/lib/systems/trigram/techniques/index.js +88 -0
- package/lib/systems/trigram/techniques/index.js.map +1 -0
- package/lib/systems/trigram/types/GonTechniqueExtensions.d.ts +506 -0
- package/lib/systems/trigram/types/GonTechniqueExtensions.d.ts.map +1 -0
- package/lib/systems/trigram/types/GonTechniqueExtensions.js +37 -0
- package/lib/systems/trigram/types/GonTechniqueExtensions.js.map +1 -0
- package/lib/systems/trigram/types.d.ts +288 -0
- package/lib/systems/trigram/types.d.ts.map +1 -0
- package/lib/systems/trigram/types.js +459 -0
- package/lib/systems/trigram/types.js.map +1 -0
- package/lib/systems/types.d.ts +1038 -0
- package/lib/systems/types.d.ts.map +1 -0
- package/lib/systems/types.js +872 -0
- package/lib/systems/types.js.map +1 -0
- package/lib/systems/vitalpoint/DamageCalculator.d.ts +255 -0
- package/lib/systems/vitalpoint/DamageCalculator.d.ts.map +1 -0
- package/lib/systems/vitalpoint/DamageCalculator.js +435 -0
- package/lib/systems/vitalpoint/DamageCalculator.js.map +1 -0
- package/lib/systems/vitalpoint/HitDetection.d.ts +11 -0
- package/lib/systems/vitalpoint/HitDetection.d.ts.map +1 -0
- package/lib/systems/vitalpoint/HitDetection.js +69 -0
- package/lib/systems/vitalpoint/HitDetection.js.map +1 -0
- package/lib/systems/vitalpoint/KoreanAnatomy.d.ts +361 -0
- package/lib/systems/vitalpoint/KoreanAnatomy.d.ts.map +1 -0
- package/lib/systems/vitalpoint/KoreanAnatomy.js +1709 -0
- package/lib/systems/vitalpoint/KoreanAnatomy.js.map +1 -0
- package/lib/systems/vitalpoint/KoreanVitalPoints.d.ts +133 -0
- package/lib/systems/vitalpoint/KoreanVitalPoints.d.ts.map +1 -0
- package/lib/systems/vitalpoint/KoreanVitalPoints.js +150 -0
- package/lib/systems/vitalpoint/KoreanVitalPoints.js.map +1 -0
- package/lib/systems/vitalpoint/MeridianVitalPointMapping.d.ts +92 -0
- package/lib/systems/vitalpoint/MeridianVitalPointMapping.d.ts.map +1 -0
- package/lib/systems/vitalpoint/MeridianVitalPointMapping.js +227 -0
- package/lib/systems/vitalpoint/MeridianVitalPointMapping.js.map +1 -0
- package/lib/systems/vitalpoint/VitalPointsData.d.ts +51 -0
- package/lib/systems/vitalpoint/VitalPointsData.d.ts.map +1 -0
- package/lib/systems/vitalpoint/VitalPointsData.js +1917 -0
- package/lib/systems/vitalpoint/VitalPointsData.js.map +1 -0
- package/lib/systems/vitalpoint/index.d.ts +12 -0
- package/lib/systems/vitalpoint/index.d.ts.map +1 -0
- package/lib/systems/vitalpoint/index.js +5 -0
- package/lib/systems/vitalpoint/types.d.ts +417 -0
- package/lib/systems/vitalpoint/types.d.ts.map +1 -0
- package/lib/test/test-utils.d.ts +46 -0
- package/lib/test/test-utils.d.ts.map +1 -0
- package/lib/types/AccessibilityTypes.d.ts +232 -0
- package/lib/types/AccessibilityTypes.d.ts.map +1 -0
- package/lib/types/AccessibilityTypes.js +13 -0
- package/lib/types/AccessibilityTypes.js.map +1 -0
- package/lib/types/HtmlOverlayTypes.d.ts +161 -0
- package/lib/types/HtmlOverlayTypes.d.ts.map +1 -0
- package/lib/types/LayoutTypes.d.ts +330 -0
- package/lib/types/LayoutTypes.d.ts.map +1 -0
- package/lib/types/LayoutTypes.js +118 -0
- package/lib/types/LayoutTypes.js.map +1 -0
- package/lib/types/PhysicsTypes.d.ts +327 -0
- package/lib/types/PhysicsTypes.d.ts.map +1 -0
- package/lib/types/PhysicsTypes.js +105 -0
- package/lib/types/PhysicsTypes.js.map +1 -0
- package/lib/types/ResponsiveTypes.d.ts +210 -0
- package/lib/types/ResponsiveTypes.d.ts.map +1 -0
- package/lib/types/clothing.d.ts +298 -0
- package/lib/types/clothing.d.ts.map +1 -0
- package/lib/types/common.d.ts +1247 -0
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/common.js +622 -0
- package/lib/types/common.js.map +1 -0
- package/lib/types/constants/animations.d.ts +93 -0
- package/lib/types/constants/animations.d.ts.map +1 -0
- package/lib/types/constants/animations.js +26 -0
- package/lib/types/constants/animations.js.map +1 -0
- package/lib/types/constants/colors.d.ts +151 -0
- package/lib/types/constants/colors.d.ts.map +1 -0
- package/lib/types/constants/colors.js +155 -0
- package/lib/types/constants/colors.js.map +1 -0
- package/lib/types/constants/designSystem.d.ts +469 -0
- package/lib/types/constants/designSystem.d.ts.map +1 -0
- package/lib/types/constants/designSystem.js +406 -0
- package/lib/types/constants/designSystem.js.map +1 -0
- package/lib/types/constants/index.d.ts +181 -0
- package/lib/types/constants/index.d.ts.map +1 -0
- package/lib/types/constants/index.js +176 -0
- package/lib/types/constants/index.js.map +1 -0
- package/lib/types/constants/layout.d.ts +76 -0
- package/lib/types/constants/layout.d.ts.map +1 -0
- package/lib/types/constants/layout.js +37 -0
- package/lib/types/constants/layout.js.map +1 -0
- package/lib/types/constants/performance.d.ts +183 -0
- package/lib/types/constants/performance.d.ts.map +1 -0
- package/lib/types/constants/performance.js +134 -0
- package/lib/types/constants/performance.js.map +1 -0
- package/lib/types/constants/typography.d.ts +85 -0
- package/lib/types/constants/typography.d.ts.map +1 -0
- package/lib/types/constants/typography.js +110 -0
- package/lib/types/constants/typography.js.map +1 -0
- package/lib/types/constants/ui.d.ts +187 -0
- package/lib/types/constants/ui.d.ts.map +1 -0
- package/lib/types/constants/ui.js +113 -0
- package/lib/types/constants/ui.js.map +1 -0
- package/lib/types/facial.d.ts +266 -0
- package/lib/types/facial.d.ts.map +1 -0
- package/lib/types/facial.js +92 -0
- package/lib/types/facial.js.map +1 -0
- package/lib/types/hand-animation.d.ts +370 -0
- package/lib/types/hand-animation.d.ts.map +1 -0
- package/lib/types/hand-animation.js +55 -0
- package/lib/types/hand-animation.js.map +1 -0
- package/lib/types/index.d.ts +14 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +112 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/injury.d.ts +58 -0
- package/lib/types/injury.d.ts.map +1 -0
- package/lib/types/injury.js +23 -0
- package/lib/types/injury.js.map +1 -0
- package/lib/types/muscle.d.ts +146 -0
- package/lib/types/muscle.d.ts.map +1 -0
- package/lib/types/muscle.js +22 -0
- package/lib/types/muscle.js.map +1 -0
- package/lib/types/physics.d.ts +606 -0
- package/lib/types/physics.d.ts.map +1 -0
- package/lib/types/physics.js +162 -0
- package/lib/types/physics.js.map +1 -0
- package/lib/types/physicsConstants.d.ts +270 -0
- package/lib/types/physicsConstants.d.ts.map +1 -0
- package/lib/types/physicsConstants.js +71 -0
- package/lib/types/physicsConstants.js.map +1 -0
- package/lib/types/player-visual.d.ts +299 -0
- package/lib/types/player-visual.d.ts.map +1 -0
- package/lib/types/skeletal.d.ts +693 -0
- package/lib/types/skeletal.d.ts.map +1 -0
- package/lib/types/skeletal.js +189 -0
- package/lib/types/skeletal.js.map +1 -0
- package/lib/types/technique.d.ts +175 -0
- package/lib/types/technique.d.ts.map +1 -0
- package/lib/types/techniqueId.d.ts +51 -0
- package/lib/types/techniqueId.d.ts.map +1 -0
- package/lib/types/techniqueId.js +55 -0
- package/lib/types/techniqueId.js.map +1 -0
- package/lib/utils/EventManager.d.ts +133 -0
- package/lib/utils/EventManager.d.ts.map +1 -0
- package/lib/utils/EventManager.js +1 -0
- package/lib/utils/accessibility.d.ts +218 -0
- package/lib/utils/accessibility.d.ts.map +1 -0
- package/lib/utils/accessibility.js +167 -0
- package/lib/utils/accessibility.js.map +1 -0
- package/lib/utils/arenaWorldDimensions.d.ts +219 -0
- package/lib/utils/arenaWorldDimensions.d.ts.map +1 -0
- package/lib/utils/arenaWorldDimensions.js +154 -0
- package/lib/utils/arenaWorldDimensions.js.map +1 -0
- package/lib/utils/assetConfig.d.ts +39 -0
- package/lib/utils/assetConfig.d.ts.map +1 -0
- package/lib/utils/assetConfig.js +52 -0
- package/lib/utils/assetConfig.js.map +1 -0
- package/lib/utils/cameraShake.d.ts +115 -0
- package/lib/utils/cameraShake.d.ts.map +1 -0
- package/lib/utils/characterScaling.d.ts +305 -0
- package/lib/utils/characterScaling.d.ts.map +1 -0
- package/lib/utils/characterScaling.js +105 -0
- package/lib/utils/characterScaling.js.map +1 -0
- package/lib/utils/clothingColors.d.ts +120 -0
- package/lib/utils/clothingColors.d.ts.map +1 -0
- package/lib/utils/clothingMaterials.d.ts +65 -0
- package/lib/utils/clothingMaterials.d.ts.map +1 -0
- package/lib/utils/colorHelpers.d.ts +67 -0
- package/lib/utils/colorHelpers.d.ts.map +1 -0
- package/lib/utils/colorHelpers.js +81 -0
- package/lib/utils/colorHelpers.js.map +1 -0
- package/lib/utils/colorUtils.d.ts +113 -0
- package/lib/utils/colorUtils.d.ts.map +1 -0
- package/lib/utils/colorUtils.js +225 -0
- package/lib/utils/colorUtils.js.map +1 -0
- package/lib/utils/combatReadiness.d.ts +132 -0
- package/lib/utils/combatReadiness.d.ts.map +1 -0
- package/lib/utils/combatReadiness.js +176 -0
- package/lib/utils/combatReadiness.js.map +1 -0
- package/lib/utils/controlMapping.d.ts +171 -0
- package/lib/utils/controlMapping.d.ts.map +1 -0
- package/lib/utils/controlMapping.js +288 -0
- package/lib/utils/controlMapping.js.map +1 -0
- package/lib/utils/deviceDetection.d.ts +159 -0
- package/lib/utils/deviceDetection.d.ts.map +1 -0
- package/lib/utils/deviceDetection.js +337 -0
- package/lib/utils/deviceDetection.js.map +1 -0
- package/lib/utils/effectUtils.d.ts +63 -0
- package/lib/utils/effectUtils.d.ts.map +1 -0
- package/lib/utils/effectUtils.js +737 -0
- package/lib/utils/effectUtils.js.map +1 -0
- package/lib/utils/eventConstants.d.ts +25 -0
- package/lib/utils/eventConstants.d.ts.map +1 -0
- package/lib/utils/eventConstants.js +3 -0
- package/lib/utils/eventConstants.js.map +1 -0
- package/lib/utils/fabricTextures.d.ts +136 -0
- package/lib/utils/fabricTextures.d.ts.map +1 -0
- package/lib/utils/fabricTextures.js +301 -0
- package/lib/utils/fabricTextures.js.map +1 -0
- package/lib/utils/hapticFeedback.d.ts +224 -0
- package/lib/utils/hapticFeedback.d.ts.map +1 -0
- package/lib/utils/hapticFeedback.js +143 -0
- package/lib/utils/hapticFeedback.js.map +1 -0
- package/lib/utils/haptics.d.ts +139 -0
- package/lib/utils/haptics.d.ts.map +1 -0
- package/lib/utils/haptics.js +66 -0
- package/lib/utils/haptics.js.map +1 -0
- package/lib/utils/htmlOverlayHelpers.d.ts +168 -0
- package/lib/utils/htmlOverlayHelpers.d.ts.map +1 -0
- package/lib/utils/htmlOverlayHelpers.js +279 -0
- package/lib/utils/htmlOverlayHelpers.js.map +1 -0
- package/lib/utils/index.d.ts +15 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +92 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/inputSystem.d.ts +154 -0
- package/lib/utils/inputSystem.d.ts.map +1 -0
- package/lib/utils/inputSystem.js +324 -0
- package/lib/utils/inputSystem.js.map +1 -0
- package/lib/utils/koreanThemeHelpers.d.ts +328 -0
- package/lib/utils/koreanThemeHelpers.d.ts.map +1 -0
- package/lib/utils/koreanThemeHelpers.js +348 -0
- package/lib/utils/koreanThemeHelpers.js.map +1 -0
- package/lib/utils/math.d.ts +80 -0
- package/lib/utils/math.d.ts.map +1 -0
- package/lib/utils/math.js +70 -0
- package/lib/utils/math.js.map +1 -0
- package/lib/utils/mobileLayoutHelpers.d.ts +52 -0
- package/lib/utils/mobileLayoutHelpers.d.ts.map +1 -0
- package/lib/utils/mobileLayoutHelpers.js +66 -0
- package/lib/utils/mobileLayoutHelpers.js.map +1 -0
- package/lib/utils/mobileUIUtils.d.ts +266 -0
- package/lib/utils/mobileUIUtils.d.ts.map +1 -0
- package/lib/utils/mobileUIUtils.js +33 -0
- package/lib/utils/mobileUIUtils.js.map +1 -0
- package/lib/utils/objectPool.d.ts +92 -0
- package/lib/utils/objectPool.d.ts.map +1 -0
- package/lib/utils/particlePool.d.ts +138 -0
- package/lib/utils/particlePool.d.ts.map +1 -0
- package/lib/utils/performance/PerformanceMonitor.d.ts +93 -0
- package/lib/utils/performance/PerformanceMonitor.d.ts.map +1 -0
- package/lib/utils/performance/PerformanceMonitor.js +155 -0
- package/lib/utils/performance/PerformanceMonitor.js.map +1 -0
- package/lib/utils/performance/PerformanceOverlay3D.d.ts +20 -0
- package/lib/utils/performance/PerformanceOverlay3D.d.ts.map +1 -0
- package/lib/utils/performance/PerformanceOverlay3D.js +200 -0
- package/lib/utils/performance/PerformanceOverlay3D.js.map +1 -0
- package/lib/utils/performance/index.d.ts +12 -0
- package/lib/utils/performance/index.d.ts.map +1 -0
- package/lib/utils/performance/index.js +3 -0
- package/lib/utils/performance/usePerformanceMonitor.d.ts +46 -0
- package/lib/utils/performance/usePerformanceMonitor.d.ts.map +1 -0
- package/lib/utils/performance/usePerformanceMonitor.js +71 -0
- package/lib/utils/performance/usePerformanceMonitor.js.map +1 -0
- package/lib/utils/performanceOptimization.d.ts +142 -0
- package/lib/utils/performanceOptimization.d.ts.map +1 -0
- package/lib/utils/performanceOptimization.js +27 -0
- package/lib/utils/performanceOptimization.js.map +1 -0
- package/lib/utils/physicalAttributeValidation.d.ts +197 -0
- package/lib/utils/physicalAttributeValidation.d.ts.map +1 -0
- package/lib/utils/player3DHelpers.d.ts +82 -0
- package/lib/utils/player3DHelpers.d.ts.map +1 -0
- package/lib/utils/player3DHelpers.js +176 -0
- package/lib/utils/player3DHelpers.js.map +1 -0
- package/lib/utils/playerUtils.d.ts +137 -0
- package/lib/utils/playerUtils.d.ts.map +1 -0
- package/lib/utils/playerUtils.js +296 -0
- package/lib/utils/playerUtils.js.map +1 -0
- package/lib/utils/responsiveLayout.d.ts +207 -0
- package/lib/utils/responsiveLayout.d.ts.map +1 -0
- package/lib/utils/responsiveLayout.js +114 -0
- package/lib/utils/responsiveLayout.js.map +1 -0
- package/lib/utils/responsiveLayoutHelpers.d.ts +156 -0
- package/lib/utils/responsiveLayoutHelpers.d.ts.map +1 -0
- package/lib/utils/responsiveLayoutHelpers.js +253 -0
- package/lib/utils/responsiveLayoutHelpers.js.map +1 -0
- package/lib/utils/safeAreaUtils.d.ts +133 -0
- package/lib/utils/safeAreaUtils.d.ts.map +1 -0
- package/lib/utils/safeAreaUtils.js +65 -0
- package/lib/utils/safeAreaUtils.js.map +1 -0
- package/lib/utils/sharedPhysicsConfig.d.ts +125 -0
- package/lib/utils/sharedPhysicsConfig.d.ts.map +1 -0
- package/lib/utils/sharedPhysicsConfig.js +119 -0
- package/lib/utils/sharedPhysicsConfig.js.map +1 -0
- package/lib/utils/skeletonScaling.d.ts +285 -0
- package/lib/utils/skeletonScaling.d.ts.map +1 -0
- package/lib/utils/skeletonScaling.js +46 -0
- package/lib/utils/skeletonScaling.js.map +1 -0
- package/lib/utils/stanceHelpers.d.ts +85 -0
- package/lib/utils/stanceHelpers.d.ts.map +1 -0
- package/lib/utils/stanceHelpers.js +132 -0
- package/lib/utils/stanceHelpers.js.map +1 -0
- package/lib/utils/threeObjectPool.d.ts +323 -0
- package/lib/utils/threeObjectPool.d.ts.map +1 -0
- package/lib/utils/threeObjectPool.js +345 -0
- package/lib/utils/threeObjectPool.js.map +1 -0
- package/lib/utils/visualEffects.d.ts +358 -0
- package/lib/utils/visualEffects.d.ts.map +1 -0
- package/lib/utils/visualEffects.js +423 -0
- package/lib/utils/visualEffects.js.map +1 -0
- package/package.json +222 -0
|
@@ -0,0 +1,1912 @@
|
|
|
1
|
+
import { useAudio } from "../../../audio/AudioProvider.js";
|
|
2
|
+
import useActionFeedback from "../../../hooks/useActionFeedback.js";
|
|
3
|
+
import { useCombatTimer } from "../../../hooks/useCombatTimer.js";
|
|
4
|
+
import { AnimationState } from "../../../systems/animation/core/types.js";
|
|
5
|
+
import { CombatState, PlayerArchetype, TrigramStance } from "../../../types/common.js";
|
|
6
|
+
import { KOREAN_COLORS } from "../../../types/constants/colors.js";
|
|
7
|
+
import { FONT_FAMILY } from "../../../types/constants/typography.js";
|
|
8
|
+
import { getPerformanceSettings } from "../../../types/constants/performance.js";
|
|
9
|
+
import { ROUND_ANNOUNCEMENT_TIMINGS } from "../../../types/constants/index.js";
|
|
10
|
+
import { Z_INDEX } from "../../../types/LayoutTypes.js";
|
|
11
|
+
import "../../../types/index.js";
|
|
12
|
+
import { TRIGRAM_STANCES_ORDER } from "../../../systems/trigram/types.js";
|
|
13
|
+
import { useKeyboardControls } from "../../../hooks/useKeyboardControls.js";
|
|
14
|
+
import { getAnimation, getAnimationForTechnique } from "../../../systems/animation/core/AnimationRegistry.js";
|
|
15
|
+
import { determineRecoveryType, getRecoveryAnimationState } from "../../../systems/animation/catalogs/RecoveryAnimations.js";
|
|
16
|
+
import "../../../systems/animation/index.js";
|
|
17
|
+
import { usePlayerAnimation } from "../../../hooks/usePlayerAnimation.js";
|
|
18
|
+
import useRoundTransition from "../../../hooks/useRoundTransition.js";
|
|
19
|
+
import useTechniqueSelection from "../../../hooks/useTechniqueSelection.js";
|
|
20
|
+
import { useWebGLContextLossHandler } from "../../../hooks/useWebGLContextLossHandler.js";
|
|
21
|
+
import { injuryMovementModifier } from "../../../systems/movement/InjuryMovementModifier.js";
|
|
22
|
+
import { MovementType, SpeedModifierSystem } from "../../../systems/physics/SpeedModifierSystem.js";
|
|
23
|
+
import { useCombatAttackMovement } from "./hooks/useCombatAttackMovement.js";
|
|
24
|
+
import { InjuryType } from "../../../types/injury.js";
|
|
25
|
+
import BalanceSystem from "../../../systems/combat/BalanceSystem.js";
|
|
26
|
+
import CombatSystem from "../../../systems/CombatSystem.js";
|
|
27
|
+
import { getPersonalityByArchetype } from "../../../systems/ai/AIPersonality.js";
|
|
28
|
+
import { AdaptiveDifficulty } from "../../../systems/ai/AdaptiveDifficulty.js";
|
|
29
|
+
import "../../../systems/ai/index.js";
|
|
30
|
+
import { getAnimationTypeForTechnique } from "../../../data/techniqueMappings.js";
|
|
31
|
+
import { toHexColor } from "../../../utils/colorHelpers.js";
|
|
32
|
+
import { usePlayerMovement } from "../../../utils/inputSystem.js";
|
|
33
|
+
import PerformanceOverlay3D from "../../../utils/performance/PerformanceOverlay3D.js";
|
|
34
|
+
import "../../../utils/performance/index.js";
|
|
35
|
+
import { createPlayerFromArchetype } from "../../../utils/playerUtils.js";
|
|
36
|
+
import { createCameraConfig } from "../../../utils/sharedPhysicsConfig.js";
|
|
37
|
+
import { useAdaptiveQuality } from "../../shared/three/optimization/AdaptiveQuality.js";
|
|
38
|
+
import "../../shared/three/optimization/index.js";
|
|
39
|
+
import { useKoreanTheme } from "../../shared/base/useKoreanTheme.js";
|
|
40
|
+
import ActionFeedback, { TechniqueName } from "../../shared/three/effects/ActionFeedback.js";
|
|
41
|
+
import DamageNumbers from "../../shared/three/effects/DamageNumbers.js";
|
|
42
|
+
import HitEffects3D from "../../shared/three/effects/HitEffects3D.js";
|
|
43
|
+
import VitalPointMarkers3D from "../../shared/three/effects/VitalPointMarkers3D.js";
|
|
44
|
+
import { StanceChangeIndicator } from "../../shared/three/indicators/StanceChangeIndicator.js";
|
|
45
|
+
import CombatArena3D from "../../shared/three/scene/CombatArena3D.js";
|
|
46
|
+
import { BreathingIndicator } from "../../shared/three/ui/BreathingIndicator2.js";
|
|
47
|
+
import ComboCounter from "../../shared/three/ui/ComboCounter.js";
|
|
48
|
+
import VitalPointOverlayControlsHtml from "../../shared/three/ui/VitalPointOverlayControlsHtml.js";
|
|
49
|
+
import { KeyboardHints } from "./components/controls/KeyboardHints.js";
|
|
50
|
+
import MatchCountdown from "./components/feedback/MatchCountdown.js";
|
|
51
|
+
import RoundAnnouncement from "./components/feedback/RoundAnnouncementOverlayHtml.js";
|
|
52
|
+
import RoundDisplayStatus from "./components/feedback/RoundDisplayStatus.js";
|
|
53
|
+
import RoundStartAnnouncement from "./components/feedback/RoundStartAnnouncementOverlayHtml.js";
|
|
54
|
+
import { InputBufferDisplay } from "./components/indicators/InputBufferDisplay.js";
|
|
55
|
+
import { animationStateToPlayerAnimation, convertPlayerStateToProps, getBalanceState } from "../../../utils/player3DHelpers.js";
|
|
56
|
+
import MobileControlsOverlay from "../../shared/mobile/MobileControlsPure.js";
|
|
57
|
+
import { StanceWheelPure } from "../../shared/mobile/StanceWheelPure.js";
|
|
58
|
+
import { GestureRecognizerPure } from "../../shared/mobile/GestureRecognizerPure.js";
|
|
59
|
+
import "../../shared/mobile/index.js";
|
|
60
|
+
import Player3DWithTransitions from "../../shared/three/models/Player3DWithTransitions.js";
|
|
61
|
+
import PauseMenu from "./components/controls/PauseMenu.js";
|
|
62
|
+
import TraumaOverlay3D from "./components/effects/TraumaOverlay3D.js";
|
|
63
|
+
import { CombatParticleEffects3D } from "./components/effects/CombatParticleEffects3D.js";
|
|
64
|
+
import CombatTopHUD from "./components/hud/CombatTopHUD.js";
|
|
65
|
+
import CombatBottomHUD from "./components/hud/CombatBottomHUD.js";
|
|
66
|
+
import CombatLeftHUD from "./components/hud/CombatLeftHUD.js";
|
|
67
|
+
import CombatRightHUD from "./components/hud/CombatRightHUD.js";
|
|
68
|
+
import "./components/hud/index.js";
|
|
69
|
+
import FPSMonitor from "./components/hud/FPSMonitor.js";
|
|
70
|
+
import { PlayerStateOverlayHtml } from "./components/hud/PlayerStateOverlayHtml.js";
|
|
71
|
+
import { BalanceIndicatorOverlayHtml } from "../../ui/combat/BalanceIndicatorOverlayHtml.js";
|
|
72
|
+
import AnimationUpdater from "./helpers/AnimationUpdater.js";
|
|
73
|
+
import { STANCE_INDEX_MAP, calculateAccuracy } from "./helpers/combatHelpers.js";
|
|
74
|
+
import "./helpers/index.js";
|
|
75
|
+
import { isRunningSpeed } from "../../../systems/movement/helpers/accelerationUtils.js";
|
|
76
|
+
import AccelerationUpdater from "../../../systems/movement/helpers/AccelerationUpdater.js";
|
|
77
|
+
import { useAICombat } from "./hooks/useAICombat.js";
|
|
78
|
+
import { useCombatActions } from "./hooks/useCombatActions.js";
|
|
79
|
+
import useCombatAudio from "./hooks/useCombatAudio.js";
|
|
80
|
+
import { useCombatLayout } from "./hooks/useCombatLayout.js";
|
|
81
|
+
import { useCombatState } from "./hooks/useCombatState.js";
|
|
82
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
83
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
84
|
+
import { Canvas } from "@react-three/fiber";
|
|
85
|
+
import { Html } from "@react-three/drei";
|
|
86
|
+
import { Bloom, EffectComposer, Noise, Vignette } from "@react-three/postprocessing";
|
|
87
|
+
//#region src/components/screens/combat/CombatScreen3D.tsx
|
|
88
|
+
/**
|
|
89
|
+
* CombatScreen3D - Three.js-based combat screen
|
|
90
|
+
*
|
|
91
|
+
* Maintains all existing combat logic and state management
|
|
92
|
+
* Uses Html overlays for UI and 3D meshes for game objects
|
|
93
|
+
*/
|
|
94
|
+
/**
|
|
95
|
+
* CombatScreen3D Component
|
|
96
|
+
* Three.js-based combat screen with 3D characters and effects
|
|
97
|
+
*/
|
|
98
|
+
var CombatScreen3D = ({ players, onPlayerUpdate, currentRound, timeRemaining, isPaused, onReturnToMenu, onGameEnd, width = 1200, height = 800, enableAdaptiveQuality, showPerformanceOverlay = false }) => {
|
|
99
|
+
const [contentReady, setContentReady] = useState(false);
|
|
100
|
+
const contextLossCountRef = useRef(0);
|
|
101
|
+
useWebGLContextLossHandler({
|
|
102
|
+
onContextLost: () => {
|
|
103
|
+
console.warn("⚠️ WebGL context lost in CombatScreen");
|
|
104
|
+
contextLossCountRef.current += 1;
|
|
105
|
+
setContentReady(false);
|
|
106
|
+
},
|
|
107
|
+
onContextRestored: () => {
|
|
108
|
+
setTimeout(() => setContentReady(true), 100);
|
|
109
|
+
},
|
|
110
|
+
autoRestore: true
|
|
111
|
+
});
|
|
112
|
+
useEffect(() => {
|
|
113
|
+
const timer = setTimeout(() => setContentReady(true), 50);
|
|
114
|
+
return () => clearTimeout(timer);
|
|
115
|
+
}, []);
|
|
116
|
+
const audio = useAudio();
|
|
117
|
+
useEffect(() => {}, []);
|
|
118
|
+
const { arenaBounds, isMobile, screenSize, layoutConstants } = useCombatLayout(width, height);
|
|
119
|
+
const theme = useKoreanTheme({
|
|
120
|
+
variant: "primary",
|
|
121
|
+
size: "md",
|
|
122
|
+
isMobile
|
|
123
|
+
});
|
|
124
|
+
const positionScale = useMemo(() => {
|
|
125
|
+
switch (screenSize) {
|
|
126
|
+
case "mobile": return 1;
|
|
127
|
+
case "tablet": return 1;
|
|
128
|
+
case "desktop": return 1;
|
|
129
|
+
case "large": return 1.25;
|
|
130
|
+
case "xlarge": return 1.5;
|
|
131
|
+
default: return 1;
|
|
132
|
+
}
|
|
133
|
+
}, [screenSize]);
|
|
134
|
+
const cameraConfig = useMemo(() => createCameraConfig(isMobile), [isMobile]);
|
|
135
|
+
const renderConfig = useMemo(() => {
|
|
136
|
+
const performanceSettings = getPerformanceSettings(width, isMobile);
|
|
137
|
+
return {
|
|
138
|
+
shadowMapSize: performanceSettings.shadowMapSize,
|
|
139
|
+
dpr: performanceSettings.dpr,
|
|
140
|
+
antialias: performanceSettings.antialias,
|
|
141
|
+
maxParticles: performanceSettings.maxParticles,
|
|
142
|
+
postProcessing: performanceSettings.postProcessing
|
|
143
|
+
};
|
|
144
|
+
}, [isMobile, width]);
|
|
145
|
+
const shouldEnableAdaptiveQuality = enableAdaptiveQuality ?? isMobile;
|
|
146
|
+
/**
|
|
147
|
+
* AdaptiveQualityWrapper - Internal component to use adaptive quality hook
|
|
148
|
+
* Must be inside Canvas to use useFrame from @react-three/fiber
|
|
149
|
+
*
|
|
150
|
+
* Memoized with useMemo so the component type is stable across renders.
|
|
151
|
+
* Note: renderConfig is intentionally NOT in dependencies to prevent
|
|
152
|
+
* component recreation when performance settings change, which would
|
|
153
|
+
* reset the internal state of useAdaptiveQuality hook.
|
|
154
|
+
*/
|
|
155
|
+
const AdaptiveQualityWrapper = useMemo(() => {
|
|
156
|
+
const Component = ({ children }) => {
|
|
157
|
+
useAdaptiveQuality(shouldEnableAdaptiveQuality, isMobile, (newQuality) => {});
|
|
158
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
159
|
+
};
|
|
160
|
+
return Component;
|
|
161
|
+
}, [shouldEnableAdaptiveQuality, isMobile]);
|
|
162
|
+
const { state: combatState, actions: combatActions } = useCombatState();
|
|
163
|
+
const [overlayVisible, setOverlayVisible] = useState(false);
|
|
164
|
+
const [severityFilters, setSeverityFilters] = useState([]);
|
|
165
|
+
const [regionFilter, setRegionFilter] = useState("all");
|
|
166
|
+
const [searchQuery, setSearchQuery] = useState("");
|
|
167
|
+
const [showLabels, setShowLabels] = useState(true);
|
|
168
|
+
const [animated, setAnimated] = useState(true);
|
|
169
|
+
const [scale, setScale] = useState(1.2);
|
|
170
|
+
const [showPerformanceMonitor, setShowPerformanceMonitor] = useState(false);
|
|
171
|
+
useEffect(() => {
|
|
172
|
+
const handleKeyDown = (e) => {
|
|
173
|
+
if (e.key === "v" || e.key === "V") {
|
|
174
|
+
setOverlayVisible((prev) => !prev);
|
|
175
|
+
audio.playSFX("menu_select");
|
|
176
|
+
}
|
|
177
|
+
if (e.key === "F9" && false);
|
|
178
|
+
};
|
|
179
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
180
|
+
return () => {
|
|
181
|
+
window.removeEventListener("keydown", handleKeyDown);
|
|
182
|
+
};
|
|
183
|
+
}, [audio]);
|
|
184
|
+
const { state: feedbackState, actions: feedbackActions } = useActionFeedback({
|
|
185
|
+
damageNumberDuration: 1500,
|
|
186
|
+
actionFeedbackDuration: 1200,
|
|
187
|
+
techniqueDuration: 2e3,
|
|
188
|
+
comboResetTime: 2e3
|
|
189
|
+
});
|
|
190
|
+
const combatAudio = useCombatAudio();
|
|
191
|
+
const { playStanceChangeSound } = combatAudio;
|
|
192
|
+
const [matchScore, setMatchScore] = useState({
|
|
193
|
+
player1: 0,
|
|
194
|
+
player2: 0
|
|
195
|
+
});
|
|
196
|
+
const matchScoreRef = useRef(matchScore);
|
|
197
|
+
const updateMatchScore = useCallback((winner) => {
|
|
198
|
+
const newScore = {
|
|
199
|
+
player1: winner === 0 ? matchScoreRef.current.player1 + 1 : matchScoreRef.current.player1,
|
|
200
|
+
player2: winner === 1 ? matchScoreRef.current.player2 + 1 : matchScoreRef.current.player2
|
|
201
|
+
};
|
|
202
|
+
matchScoreRef.current = newScore;
|
|
203
|
+
setTimeout(() => setMatchScore(newScore), 0);
|
|
204
|
+
}, []);
|
|
205
|
+
const [internalRound, setInternalRound] = useState(currentRound);
|
|
206
|
+
const [currentTime, setCurrentTime] = useState(Date.now());
|
|
207
|
+
const [hasShownMatchCountdown, setHasShownMatchCountdown] = useState(true);
|
|
208
|
+
const [showMatchCountdown, setShowMatchCountdown] = useState(false);
|
|
209
|
+
const [showRoundStart, setShowRoundStart] = useState(false);
|
|
210
|
+
const [matchCountdownComplete, setMatchCountdownComplete] = useState(true);
|
|
211
|
+
const [player1Position, setPlayer1Position] = useState({
|
|
212
|
+
x: arenaBounds.worldWidthMeters * -.1,
|
|
213
|
+
y: 0
|
|
214
|
+
});
|
|
215
|
+
const [showPauseMenu, setShowPauseMenu] = useState(false);
|
|
216
|
+
const handlePause = useCallback(() => {
|
|
217
|
+
setShowPauseMenu(true);
|
|
218
|
+
audio.playSFX("menu_select");
|
|
219
|
+
}, [audio]);
|
|
220
|
+
const handleResume = useCallback(() => {
|
|
221
|
+
setShowPauseMenu(false);
|
|
222
|
+
audio.playSFX("menu_select");
|
|
223
|
+
}, [audio]);
|
|
224
|
+
const handleRestart = useCallback(() => {
|
|
225
|
+
setInternalRound(1);
|
|
226
|
+
setMatchScore({
|
|
227
|
+
player1: 0,
|
|
228
|
+
player2: 0
|
|
229
|
+
});
|
|
230
|
+
matchScoreRef.current = {
|
|
231
|
+
player1: 0,
|
|
232
|
+
player2: 0
|
|
233
|
+
};
|
|
234
|
+
combatActions.setRoundEnded(false);
|
|
235
|
+
combatActions.setRoundStarted(false);
|
|
236
|
+
combatActions.setRoundDisplayStatus(null);
|
|
237
|
+
onPlayerUpdate(0, {
|
|
238
|
+
health: 100,
|
|
239
|
+
stamina: 100,
|
|
240
|
+
ki: 100,
|
|
241
|
+
consciousness: 100,
|
|
242
|
+
pain: 0,
|
|
243
|
+
balance: 100,
|
|
244
|
+
combatState: CombatState.IDLE,
|
|
245
|
+
isStunned: false,
|
|
246
|
+
isBlocking: false
|
|
247
|
+
});
|
|
248
|
+
onPlayerUpdate(1, {
|
|
249
|
+
health: 100,
|
|
250
|
+
stamina: 100,
|
|
251
|
+
ki: 100,
|
|
252
|
+
consciousness: 100,
|
|
253
|
+
pain: 0,
|
|
254
|
+
balance: 100,
|
|
255
|
+
combatState: CombatState.IDLE,
|
|
256
|
+
isStunned: false,
|
|
257
|
+
isBlocking: false
|
|
258
|
+
});
|
|
259
|
+
setPlayer1Position({
|
|
260
|
+
x: arenaBounds.worldWidthMeters * -.1,
|
|
261
|
+
y: 0
|
|
262
|
+
});
|
|
263
|
+
onPlayerUpdate(1, { position: {
|
|
264
|
+
x: arenaBounds.worldWidthMeters * .1,
|
|
265
|
+
y: 0
|
|
266
|
+
} });
|
|
267
|
+
setShowPauseMenu(false);
|
|
268
|
+
setShowRoundStart(true);
|
|
269
|
+
audio.playSFX("menu_select");
|
|
270
|
+
}, [
|
|
271
|
+
audio,
|
|
272
|
+
combatActions,
|
|
273
|
+
onPlayerUpdate,
|
|
274
|
+
arenaBounds,
|
|
275
|
+
setPlayer1Position
|
|
276
|
+
]);
|
|
277
|
+
const handleRoundTransitionComplete = useCallback(() => {
|
|
278
|
+
const currentScore = matchScoreRef.current;
|
|
279
|
+
if (currentScore.player1 >= 2 || currentScore.player2 >= 2) {
|
|
280
|
+
onGameEnd(currentScore.player1 >= 2 ? 0 : 1);
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
combatActions.resetRoundState();
|
|
284
|
+
setInternalRound((prev) => {
|
|
285
|
+
const nextRound = prev + 1;
|
|
286
|
+
setTimeout(() => {
|
|
287
|
+
setShowRoundStart(true);
|
|
288
|
+
}, 300);
|
|
289
|
+
return nextRound;
|
|
290
|
+
});
|
|
291
|
+
onPlayerUpdate(0, {
|
|
292
|
+
health: 100,
|
|
293
|
+
stamina: 100,
|
|
294
|
+
ki: 100,
|
|
295
|
+
consciousness: 100,
|
|
296
|
+
pain: 0,
|
|
297
|
+
balance: 100,
|
|
298
|
+
combatState: CombatState.IDLE,
|
|
299
|
+
isStunned: false,
|
|
300
|
+
isBlocking: false
|
|
301
|
+
});
|
|
302
|
+
onPlayerUpdate(1, {
|
|
303
|
+
health: 100,
|
|
304
|
+
stamina: 100,
|
|
305
|
+
ki: 100,
|
|
306
|
+
consciousness: 100,
|
|
307
|
+
pain: 0,
|
|
308
|
+
balance: 100,
|
|
309
|
+
combatState: CombatState.IDLE,
|
|
310
|
+
isStunned: false,
|
|
311
|
+
isBlocking: false
|
|
312
|
+
});
|
|
313
|
+
setPlayer1Position({
|
|
314
|
+
x: arenaBounds.worldWidthMeters * -.1,
|
|
315
|
+
y: 0
|
|
316
|
+
});
|
|
317
|
+
onPlayerUpdate(1, { position: {
|
|
318
|
+
x: arenaBounds.worldWidthMeters * .1,
|
|
319
|
+
y: 0
|
|
320
|
+
} });
|
|
321
|
+
}, [
|
|
322
|
+
combatActions,
|
|
323
|
+
onGameEnd,
|
|
324
|
+
onPlayerUpdate,
|
|
325
|
+
arenaBounds,
|
|
326
|
+
setPlayer1Position
|
|
327
|
+
]);
|
|
328
|
+
const { showAnnouncement, roundWinner, currentRoundNumber: transitionRoundNumber, skipCountdown, startTransition } = useRoundTransition({
|
|
329
|
+
announcementDuration: ROUND_ANNOUNCEMENT_TIMINGS.ANNOUNCEMENT_DURATION,
|
|
330
|
+
countdownDuration: ROUND_ANNOUNCEMENT_TIMINGS.COUNTDOWN_DURATION,
|
|
331
|
+
transitionDuration: ROUND_ANNOUNCEMENT_TIMINGS.TRANSITION_DURATION
|
|
332
|
+
}, handleRoundTransitionComplete);
|
|
333
|
+
const player2Position = useMemo(() => {
|
|
334
|
+
if (players.length >= 2 && players[1].position) return players[1].position;
|
|
335
|
+
return {
|
|
336
|
+
x: arenaBounds.worldWidthMeters * .1,
|
|
337
|
+
y: 0
|
|
338
|
+
};
|
|
339
|
+
}, [players, arenaBounds]);
|
|
340
|
+
const playerPositions = useMemo(() => {
|
|
341
|
+
return [player1Position, player2Position];
|
|
342
|
+
}, [player1Position, player2Position]);
|
|
343
|
+
const player1Position3D = useMemo(() => {
|
|
344
|
+
return [
|
|
345
|
+
playerPositions[0].x,
|
|
346
|
+
0,
|
|
347
|
+
playerPositions[0].y
|
|
348
|
+
];
|
|
349
|
+
}, [playerPositions]);
|
|
350
|
+
const player2Position3D = useMemo(() => {
|
|
351
|
+
return [
|
|
352
|
+
playerPositions[1].x,
|
|
353
|
+
0,
|
|
354
|
+
playerPositions[1].y
|
|
355
|
+
];
|
|
356
|
+
}, [playerPositions]);
|
|
357
|
+
const player1LastRotationRef = useRef(0);
|
|
358
|
+
const player2Rotation = useMemo(() => {
|
|
359
|
+
const dx = player1Position3D[0] - player2Position3D[0];
|
|
360
|
+
const dz = player1Position3D[2] - player2Position3D[2];
|
|
361
|
+
return Math.atan2(dx, dz);
|
|
362
|
+
}, [player1Position3D, player2Position3D]);
|
|
363
|
+
const combatSystem = useMemo(() => new CombatSystem(), []);
|
|
364
|
+
const balanceSystem = useMemo(() => new BalanceSystem(), []);
|
|
365
|
+
const speedModifierSystem = useMemo(() => new SpeedModifierSystem(), []);
|
|
366
|
+
const [player1SpeedModifiers, setPlayer1SpeedModifiers] = useState({
|
|
367
|
+
finalSpeed: 6,
|
|
368
|
+
baseSpeed: 6,
|
|
369
|
+
finalAcceleration: 12
|
|
370
|
+
});
|
|
371
|
+
const [player2SpeedModifiers, setPlayer2SpeedModifiers] = useState({
|
|
372
|
+
finalSpeed: 6,
|
|
373
|
+
baseSpeed: 6,
|
|
374
|
+
finalAcceleration: 12
|
|
375
|
+
});
|
|
376
|
+
const [player1WalkRunSpeeds, setPlayer1WalkRunSpeeds] = useState({
|
|
377
|
+
walkSpeed: 6,
|
|
378
|
+
runSpeed: 10
|
|
379
|
+
});
|
|
380
|
+
useEffect(() => {
|
|
381
|
+
const updateSpeedModifiers = () => {
|
|
382
|
+
if (players.length >= 2) {
|
|
383
|
+
const player1WalkModifiers = speedModifierSystem.calculateSpeedModifiers(players[0], MovementType.WALKING, false);
|
|
384
|
+
const player1RunModifiers = speedModifierSystem.calculateSpeedModifiers(players[0], MovementType.RUNNING, false);
|
|
385
|
+
setPlayer1SpeedModifiers({
|
|
386
|
+
finalSpeed: player1WalkModifiers.finalSpeed,
|
|
387
|
+
baseSpeed: player1WalkModifiers.baseSpeed,
|
|
388
|
+
finalAcceleration: player1WalkModifiers.finalAcceleration
|
|
389
|
+
});
|
|
390
|
+
setPlayer1WalkRunSpeeds({
|
|
391
|
+
walkSpeed: player1WalkModifiers.finalSpeed,
|
|
392
|
+
runSpeed: player1RunModifiers.finalSpeed
|
|
393
|
+
});
|
|
394
|
+
const player2Modifiers = speedModifierSystem.calculateSpeedModifiers(players[1], MovementType.WALKING, false);
|
|
395
|
+
setPlayer2SpeedModifiers({
|
|
396
|
+
finalSpeed: player2Modifiers.finalSpeed,
|
|
397
|
+
baseSpeed: player2Modifiers.baseSpeed,
|
|
398
|
+
finalAcceleration: player2Modifiers.finalAcceleration
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
updateSpeedModifiers();
|
|
403
|
+
const intervalId = setInterval(updateSpeedModifiers, 200);
|
|
404
|
+
return () => clearInterval(intervalId);
|
|
405
|
+
}, [players]);
|
|
406
|
+
useEffect(() => {
|
|
407
|
+
const updateTime = () => {
|
|
408
|
+
setCurrentTime(Date.now());
|
|
409
|
+
};
|
|
410
|
+
const intervalId = setInterval(updateTime, 200);
|
|
411
|
+
return () => clearInterval(intervalId);
|
|
412
|
+
}, []);
|
|
413
|
+
const calculateLegInjuryFactor = useCallback((player) => {
|
|
414
|
+
if (!player.bodyPartHealth) return 0;
|
|
415
|
+
const leftLeg = player.bodyPartHealth.legLeft ?? player.maxHealth;
|
|
416
|
+
const rightLeg = player.bodyPartHealth.legRight ?? player.maxHealth;
|
|
417
|
+
const maxHealth = player.maxHealth;
|
|
418
|
+
const averageLegHealth = (leftLeg + rightLeg) / (2 * maxHealth);
|
|
419
|
+
return Math.max(0, Math.min(1, 1 - averageLegHealth));
|
|
420
|
+
}, []);
|
|
421
|
+
const player1 = players.length > 0 ? players[0] : void 0;
|
|
422
|
+
const player1Data = useMemo(() => {
|
|
423
|
+
const p1 = player1 ?? createPlayerFromArchetype(PlayerArchetype.MUSA, 0);
|
|
424
|
+
return {
|
|
425
|
+
currentStance: p1.currentStance,
|
|
426
|
+
legInjuryFactor: calculateLegInjuryFactor(p1)
|
|
427
|
+
};
|
|
428
|
+
}, [player1, calculateLegInjuryFactor]);
|
|
429
|
+
const [player1AttackAnimation, setPlayer1AttackAnimation] = useState(void 0);
|
|
430
|
+
const [player2AttackAnimation, setPlayer2AttackAnimation] = useState(void 0);
|
|
431
|
+
const [player1TechniqueId, setPlayer1TechniqueId] = useState(void 0);
|
|
432
|
+
const [player2TechniqueId, setPlayer2TechniqueId] = useState(void 0);
|
|
433
|
+
const [player1Injuries, setPlayer1Injuries] = useState([]);
|
|
434
|
+
const [player2Injuries, setPlayer2Injuries] = useState([]);
|
|
435
|
+
useEffect(() => {
|
|
436
|
+
return () => {
|
|
437
|
+
setPlayer1Injuries([]);
|
|
438
|
+
setPlayer2Injuries([]);
|
|
439
|
+
};
|
|
440
|
+
}, []);
|
|
441
|
+
useEffect(() => {
|
|
442
|
+
if (players.length >= 2) {
|
|
443
|
+
const player1 = players[0];
|
|
444
|
+
const player2 = players[1];
|
|
445
|
+
if (player1?.health === player1?.maxHealth && player2?.health === player2?.maxHealth) {
|
|
446
|
+
setPlayer1Injuries([]);
|
|
447
|
+
setPlayer2Injuries([]);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}, [players]);
|
|
451
|
+
const handlePlayer1PositionChange = useCallback((newPosition) => {
|
|
452
|
+
setPlayer1Position(newPosition);
|
|
453
|
+
onPlayerUpdate(0, { position: newPosition });
|
|
454
|
+
}, [onPlayerUpdate]);
|
|
455
|
+
const movementBounds = useMemo(() => ({
|
|
456
|
+
worldWidthMeters: arenaBounds.worldWidthMeters,
|
|
457
|
+
worldDepthMeters: arenaBounds.worldDepthMeters
|
|
458
|
+
}), [arenaBounds.worldWidthMeters, arenaBounds.worldDepthMeters]);
|
|
459
|
+
const player1MovementTimeRef = useRef(0);
|
|
460
|
+
const player1LastDirectionRef = useRef({
|
|
461
|
+
x: 0,
|
|
462
|
+
y: 0
|
|
463
|
+
});
|
|
464
|
+
const [player1AccelerationBasedSpeed, setPlayer1AccelerationBasedSpeed] = useState(player1WalkRunSpeeds.walkSpeed);
|
|
465
|
+
const player1IsRunning = isRunningSpeed(player1AccelerationBasedSpeed, player1WalkRunSpeeds.runSpeed);
|
|
466
|
+
const { isMoving: player1IsMoving, velocity: player1Velocity } = usePlayerMovement({
|
|
467
|
+
enabled: !isPaused && combatState.roundStarted && !combatState.roundEnded && matchCountdownComplete && !showRoundStart,
|
|
468
|
+
bounds: movementBounds,
|
|
469
|
+
onPositionChange: handlePlayer1PositionChange,
|
|
470
|
+
initialPositionMeters: player1Position,
|
|
471
|
+
currentStance: player1Data.currentStance,
|
|
472
|
+
legInjuryFactor: player1Data.legInjuryFactor,
|
|
473
|
+
isRunning: player1IsRunning,
|
|
474
|
+
useTacticalSteps: false,
|
|
475
|
+
maxSpeedOverride: player1AccelerationBasedSpeed,
|
|
476
|
+
accelerationOverride: player1SpeedModifiers.finalAcceleration
|
|
477
|
+
});
|
|
478
|
+
const player1Rotation = useMemo(() => {
|
|
479
|
+
if (player1IsMoving && player1Velocity && (player1Velocity.x !== 0 || player1Velocity.y !== 0)) {
|
|
480
|
+
const movementRotation = Math.atan2(player1Velocity.x, player1Velocity.y);
|
|
481
|
+
player1LastRotationRef.current = movementRotation;
|
|
482
|
+
return movementRotation;
|
|
483
|
+
} else {
|
|
484
|
+
const dx = player2Position3D[0] - player1Position3D[0];
|
|
485
|
+
const dz = player2Position3D[2] - player1Position3D[2];
|
|
486
|
+
const targetRotation = Math.atan2(dx, dz);
|
|
487
|
+
player1LastRotationRef.current = targetRotation;
|
|
488
|
+
return targetRotation;
|
|
489
|
+
}
|
|
490
|
+
}, [
|
|
491
|
+
player1IsMoving,
|
|
492
|
+
player1Velocity,
|
|
493
|
+
player1Position3D,
|
|
494
|
+
player2Position3D
|
|
495
|
+
]);
|
|
496
|
+
const handleAttackRef = useRef(null);
|
|
497
|
+
const player1AnimationRef = useRef(null);
|
|
498
|
+
const validPlayersRefForAnimation = useRef(null);
|
|
499
|
+
const player1HitTriggerFrameRef = useRef(6);
|
|
500
|
+
const player1AttackHitFiredRef = useRef(false);
|
|
501
|
+
const player1AttackDurationRef = useRef(.55);
|
|
502
|
+
const player2AttackDurationRef = useRef(.55);
|
|
503
|
+
const clearPlayer1AttackAnimation = useRef(() => {
|
|
504
|
+
setPlayer1AttackAnimation(void 0);
|
|
505
|
+
setPlayer1TechniqueId(void 0);
|
|
506
|
+
});
|
|
507
|
+
const clearPlayer2AttackAnimation = useRef(() => {
|
|
508
|
+
setPlayer2AttackAnimation(void 0);
|
|
509
|
+
setPlayer2TechniqueId(void 0);
|
|
510
|
+
});
|
|
511
|
+
const player1Animation = usePlayerAnimation({ events: useMemo(() => ({
|
|
512
|
+
onFrame: (frame, state) => {
|
|
513
|
+
if (state === AnimationState.ATTACK && frame >= player1HitTriggerFrameRef.current && !player1AttackHitFiredRef.current) {
|
|
514
|
+
player1AttackHitFiredRef.current = true;
|
|
515
|
+
handleAttackRef.current?.();
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
onAnimationComplete: (state) => {
|
|
519
|
+
if (state === AnimationState.ATTACK || state === AnimationState.DEFEND) {
|
|
520
|
+
combatActions.setExecutingTechnique(false);
|
|
521
|
+
if (state === AnimationState.ATTACK) clearPlayer1AttackAnimation.current();
|
|
522
|
+
} else if (state === AnimationState.STANCE_CHANGE) {
|
|
523
|
+
audio.playSFX("menu_select");
|
|
524
|
+
const currentStance = validPlayersRefForAnimation.current?.[0]?.currentStance;
|
|
525
|
+
if (currentStance && player1AnimationRef.current) player1AnimationRef.current.transitionToStanceGuard(currentStance);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
}), [combatActions, audio]) });
|
|
529
|
+
useEffect(() => {
|
|
530
|
+
player1AnimationRef.current = player1Animation;
|
|
531
|
+
}, [player1Animation]);
|
|
532
|
+
const player2Animation = usePlayerAnimation({ events: {
|
|
533
|
+
onFrame: (frame, state) => {
|
|
534
|
+
if (state === AnimationState.ATTACK && frame === 6) {}
|
|
535
|
+
},
|
|
536
|
+
onAnimationComplete: (state) => {
|
|
537
|
+
if (state === AnimationState.ATTACK) clearPlayer2AttackAnimation.current();
|
|
538
|
+
}
|
|
539
|
+
} });
|
|
540
|
+
const prevPlayer1IsMovingRef = useRef(player1IsMoving);
|
|
541
|
+
const prevPlayer1IsRunningRef = useRef(player1IsRunning);
|
|
542
|
+
useEffect(() => {
|
|
543
|
+
const movementChanged = prevPlayer1IsMovingRef.current !== player1IsMoving;
|
|
544
|
+
const runningChanged = prevPlayer1IsRunningRef.current !== player1IsRunning;
|
|
545
|
+
if (movementChanged || runningChanged) {
|
|
546
|
+
if (player1IsMoving) {
|
|
547
|
+
const targetState = player1IsRunning ? AnimationState.RUN : AnimationState.WALK;
|
|
548
|
+
if (player1Animation.currentState !== targetState) player1Animation.transitionTo(targetState);
|
|
549
|
+
} else if (player1Animation.currentState === AnimationState.WALK || player1Animation.currentState === AnimationState.RUN) player1Animation.transitionToStanceGuard(player1Data.currentStance);
|
|
550
|
+
prevPlayer1IsMovingRef.current = player1IsMoving;
|
|
551
|
+
prevPlayer1IsRunningRef.current = player1IsRunning;
|
|
552
|
+
}
|
|
553
|
+
}, [
|
|
554
|
+
player1IsMoving,
|
|
555
|
+
player1IsRunning,
|
|
556
|
+
player1Animation,
|
|
557
|
+
player1Data.currentStance
|
|
558
|
+
]);
|
|
559
|
+
const MOVEMENT_DETECTION_THRESHOLD = .5;
|
|
560
|
+
const player2Stance = useMemo(() => {
|
|
561
|
+
return players[1]?.currentStance ?? TrigramStance.GEON;
|
|
562
|
+
}, [players]);
|
|
563
|
+
const prevPlayer2PositionRef = useRef(player2Position);
|
|
564
|
+
useEffect(() => {
|
|
565
|
+
const currentPos = playerPositions[1];
|
|
566
|
+
const prevPos = prevPlayer2PositionRef.current;
|
|
567
|
+
if (Math.abs(currentPos.x - prevPos.x) > MOVEMENT_DETECTION_THRESHOLD || Math.abs(currentPos.y - prevPos.y) > MOVEMENT_DETECTION_THRESHOLD) {
|
|
568
|
+
if (player2Animation.currentState !== AnimationState.WALK && player2Animation.currentState !== AnimationState.ATTACK) player2Animation.transitionTo(AnimationState.WALK);
|
|
569
|
+
} else if (player2Animation.currentState === AnimationState.WALK) player2Animation.transitionToStanceGuard(player2Stance);
|
|
570
|
+
prevPlayer2PositionRef.current = currentPos;
|
|
571
|
+
}, [
|
|
572
|
+
playerPositions,
|
|
573
|
+
player2Animation,
|
|
574
|
+
player2Stance
|
|
575
|
+
]);
|
|
576
|
+
const validPlayers = useMemo(() => {
|
|
577
|
+
if (players.length === 0) {
|
|
578
|
+
const player1 = createPlayerFromArchetype(PlayerArchetype.MUSA, 0);
|
|
579
|
+
const player2 = createPlayerFromArchetype(PlayerArchetype.AMSALJA, 1);
|
|
580
|
+
return [{
|
|
581
|
+
...player1,
|
|
582
|
+
position: playerPositions[0]
|
|
583
|
+
}, {
|
|
584
|
+
...player2,
|
|
585
|
+
position: playerPositions[1]
|
|
586
|
+
}];
|
|
587
|
+
}
|
|
588
|
+
const player1 = players[0];
|
|
589
|
+
const player2 = players[1] ?? createPlayerFromArchetype(PlayerArchetype.AMSALJA, 1);
|
|
590
|
+
return [{
|
|
591
|
+
...player1,
|
|
592
|
+
position: playerPositions[0]
|
|
593
|
+
}, {
|
|
594
|
+
...player2,
|
|
595
|
+
position: playerPositions[1]
|
|
596
|
+
}];
|
|
597
|
+
}, [players, playerPositions]);
|
|
598
|
+
const validPlayersRef = useRef(validPlayers);
|
|
599
|
+
useEffect(() => {
|
|
600
|
+
validPlayersRef.current = validPlayers;
|
|
601
|
+
validPlayersRefForAnimation.current = validPlayers;
|
|
602
|
+
}, [validPlayers]);
|
|
603
|
+
const getTechniqueAnimationType = useCallback((techniqueId) => {
|
|
604
|
+
if (!techniqueId) return void 0;
|
|
605
|
+
return getAnimationTypeForTechnique(techniqueId);
|
|
606
|
+
}, []);
|
|
607
|
+
const { player1Position: player1PositionWithAttackMovement, player2Position: player2PositionWithAttackMovement } = useCombatAttackMovement({
|
|
608
|
+
player1Attacking: player1Animation.currentState === AnimationState.ATTACK,
|
|
609
|
+
player1AnimationType: getTechniqueAnimationType(player1TechniqueId),
|
|
610
|
+
player1Stance: player1Data.currentStance,
|
|
611
|
+
player1BasePosition: player1Position3D,
|
|
612
|
+
player1AnimationDuration: player1AttackDurationRef.current,
|
|
613
|
+
player2Attacking: player2Animation.currentState === AnimationState.ATTACK,
|
|
614
|
+
player2AnimationType: getTechniqueAnimationType(player2TechniqueId),
|
|
615
|
+
player2Stance: validPlayers[1].currentStance,
|
|
616
|
+
player2BasePosition: player2Position3D,
|
|
617
|
+
player2AnimationDuration: player2AttackDurationRef.current
|
|
618
|
+
});
|
|
619
|
+
const [player1LocalStance, setPlayer1LocalStance] = useState(validPlayers[0].currentStance);
|
|
620
|
+
useEffect(() => {
|
|
621
|
+
setPlayer1LocalStance(validPlayers[0].currentStance);
|
|
622
|
+
}, [validPlayers]);
|
|
623
|
+
const player1WithLocalStance = useMemo(() => ({
|
|
624
|
+
...validPlayers[0],
|
|
625
|
+
currentStance: player1LocalStance
|
|
626
|
+
}), [validPlayers, player1LocalStance]);
|
|
627
|
+
const startTransitionRef = useRef(startTransition);
|
|
628
|
+
const internalRoundRef = useRef(internalRound);
|
|
629
|
+
useEffect(() => {
|
|
630
|
+
startTransitionRef.current = startTransition;
|
|
631
|
+
internalRoundRef.current = internalRound;
|
|
632
|
+
}, [startTransition, internalRound]);
|
|
633
|
+
const addCombatMessage = useCallback((korean, english) => {
|
|
634
|
+
const message = `${korean} | ${english}`;
|
|
635
|
+
combatActions.addCombatMessage(message);
|
|
636
|
+
}, [combatActions]);
|
|
637
|
+
const handleTimeUp = useCallback(() => {
|
|
638
|
+
if (!combatState.roundEnded) {
|
|
639
|
+
combatActions.setRoundEnded(true);
|
|
640
|
+
addCombatMessage("시간 종료!", "Time's Up!");
|
|
641
|
+
const currentPlayers = validPlayersRef.current;
|
|
642
|
+
const player1Health = currentPlayers[0].health;
|
|
643
|
+
const player2Health = currentPlayers[1].health;
|
|
644
|
+
if (player1Health > player2Health) {
|
|
645
|
+
updateMatchScore(0);
|
|
646
|
+
startTransitionRef.current(currentPlayers[0], internalRoundRef.current);
|
|
647
|
+
} else if (player2Health > player1Health) {
|
|
648
|
+
updateMatchScore(1);
|
|
649
|
+
startTransitionRef.current(currentPlayers[1], internalRoundRef.current);
|
|
650
|
+
} else startTransitionRef.current(null, internalRoundRef.current);
|
|
651
|
+
}
|
|
652
|
+
}, [
|
|
653
|
+
combatState.roundEnded,
|
|
654
|
+
combatActions,
|
|
655
|
+
addCombatMessage,
|
|
656
|
+
updateMatchScore
|
|
657
|
+
]);
|
|
658
|
+
const handleTimeUpRef = useRef(handleTimeUp);
|
|
659
|
+
useEffect(() => {
|
|
660
|
+
handleTimeUpRef.current = handleTimeUp;
|
|
661
|
+
}, [handleTimeUp]);
|
|
662
|
+
const timerResetKey = `round-${internalRound}`;
|
|
663
|
+
const timerState = useCombatTimer({
|
|
664
|
+
initialTime: Math.max(0, timeRemaining),
|
|
665
|
+
isPaused: isPaused || !combatState.roundStarted || combatState.roundEnded || !matchCountdownComplete || showRoundStart,
|
|
666
|
+
onTimeUp: useCallback(() => handleTimeUpRef.current(), []),
|
|
667
|
+
warningThreshold: 10,
|
|
668
|
+
urgentThreshold: 5,
|
|
669
|
+
resetKey: timerResetKey
|
|
670
|
+
});
|
|
671
|
+
const startRound = useCallback(() => {
|
|
672
|
+
combatActions.setRoundStarted(true);
|
|
673
|
+
combatActions.setRoundEnded(false);
|
|
674
|
+
addCombatMessage("라운드 시작!", "Round Start!");
|
|
675
|
+
const player = validPlayers[0];
|
|
676
|
+
if (player?.archetype) {
|
|
677
|
+
const playerArchetype = player.archetype.toLowerCase();
|
|
678
|
+
combatAudio.playArchetypeMusic(playerArchetype, 2e3);
|
|
679
|
+
} else combatAudio.playCombatMusic(2e3);
|
|
680
|
+
}, [
|
|
681
|
+
combatActions,
|
|
682
|
+
addCombatMessage,
|
|
683
|
+
validPlayers,
|
|
684
|
+
combatAudio
|
|
685
|
+
]);
|
|
686
|
+
const hasAutoStartedRef = useRef(false);
|
|
687
|
+
useEffect(() => {
|
|
688
|
+
if (matchCountdownComplete && !hasAutoStartedRef.current) {
|
|
689
|
+
hasAutoStartedRef.current = true;
|
|
690
|
+
combatActions.setRoundStarted(true);
|
|
691
|
+
addCombatMessage("라운드 시작!", "Round Start!");
|
|
692
|
+
const player = validPlayers[0];
|
|
693
|
+
if (player?.archetype) {
|
|
694
|
+
const playerArchetype = player.archetype.toLowerCase();
|
|
695
|
+
combatAudio.playArchetypeMusic(playerArchetype, 2e3);
|
|
696
|
+
} else combatAudio.playCombatMusic(2e3);
|
|
697
|
+
}
|
|
698
|
+
}, [
|
|
699
|
+
matchCountdownComplete,
|
|
700
|
+
combatActions,
|
|
701
|
+
addCombatMessage,
|
|
702
|
+
validPlayers,
|
|
703
|
+
combatAudio
|
|
704
|
+
]);
|
|
705
|
+
const adaptiveDifficulty = useMemo(() => new AdaptiveDifficulty(), []);
|
|
706
|
+
useEffect(() => {
|
|
707
|
+
try {
|
|
708
|
+
const savedMetrics = localStorage.getItem("ai_difficulty_metrics");
|
|
709
|
+
if (savedMetrics) adaptiveDifficulty.importMetrics(savedMetrics);
|
|
710
|
+
} catch (err) {
|
|
711
|
+
console.warn("Failed to load AI difficulty metrics:", err);
|
|
712
|
+
}
|
|
713
|
+
return () => {
|
|
714
|
+
try {
|
|
715
|
+
const metrics = adaptiveDifficulty.exportMetrics();
|
|
716
|
+
localStorage.setItem("ai_difficulty_metrics", metrics);
|
|
717
|
+
} catch (err) {
|
|
718
|
+
console.warn("Failed to save AI difficulty metrics:", err);
|
|
719
|
+
}
|
|
720
|
+
};
|
|
721
|
+
}, [adaptiveDifficulty]);
|
|
722
|
+
const aiPersonality = useMemo(() => getPersonalityByArchetype(validPlayers[1].archetype), [validPlayers]);
|
|
723
|
+
const handleAIStanceChange = useCallback((stance) => {
|
|
724
|
+
const currentStance = validPlayers[1].currentStance;
|
|
725
|
+
player2Animation.transitionToStanceChange(currentStance, stance);
|
|
726
|
+
onPlayerUpdate(1, { currentStance: stance });
|
|
727
|
+
addCombatMessage(`AI 자세 변경: ${stance}`, `AI Stance Change: ${stance}`);
|
|
728
|
+
}, [
|
|
729
|
+
validPlayers,
|
|
730
|
+
player2Animation,
|
|
731
|
+
onPlayerUpdate,
|
|
732
|
+
addCombatMessage
|
|
733
|
+
]);
|
|
734
|
+
const handleEffectComplete = useCallback((effectId) => {
|
|
735
|
+
combatActions.removeHitEffect(effectId);
|
|
736
|
+
}, [combatActions]);
|
|
737
|
+
const createHitEffect = useCallback((id, type, position, intensity) => ({
|
|
738
|
+
id,
|
|
739
|
+
type,
|
|
740
|
+
attackerId: "player1",
|
|
741
|
+
defenderId: "player2",
|
|
742
|
+
timestamp: Date.now(),
|
|
743
|
+
duration: 1e3,
|
|
744
|
+
position,
|
|
745
|
+
intensity,
|
|
746
|
+
startTime: Date.now()
|
|
747
|
+
}), []);
|
|
748
|
+
const addHitEffect = useCallback((type, position, intensity = 1) => {
|
|
749
|
+
const effect = createHitEffect(`effect_${Date.now()}`, type, position, intensity);
|
|
750
|
+
combatActions.addHitEffect(effect);
|
|
751
|
+
}, [createHitEffect, combatActions]);
|
|
752
|
+
const handlePlayerPositionUpdate = useCallback((playerIndex, position) => {
|
|
753
|
+
if (playerIndex === 0) {
|
|
754
|
+
setPlayer1Position(position);
|
|
755
|
+
onPlayerUpdate(0, { position });
|
|
756
|
+
} else if (playerIndex === 1) onPlayerUpdate(1, { position });
|
|
757
|
+
}, [onPlayerUpdate, setPlayer1Position]);
|
|
758
|
+
const handleInjuryCreated = useCallback((injury, targetPlayerIndex) => {
|
|
759
|
+
const updateInjuries = (prev) => {
|
|
760
|
+
const recentHitTime = 5e3;
|
|
761
|
+
const now = Date.now();
|
|
762
|
+
const recentHit = prev.find((existing) => existing.region === injury.region && now - existing.timestamp < recentHitTime && existing.type === InjuryType.BRUISE && injury.type === InjuryType.BRUISE);
|
|
763
|
+
if (recentHit) {
|
|
764
|
+
const newHitCount = recentHit.hitCount + 1;
|
|
765
|
+
const escalatedSeverity = Math.min(1, recentHit.severity + .15);
|
|
766
|
+
return prev.map((existing) => existing.id === recentHit.id ? {
|
|
767
|
+
...existing,
|
|
768
|
+
hitCount: newHitCount,
|
|
769
|
+
severity: escalatedSeverity,
|
|
770
|
+
timestamp: now
|
|
771
|
+
} : existing);
|
|
772
|
+
}
|
|
773
|
+
return [...prev, injury];
|
|
774
|
+
};
|
|
775
|
+
if (targetPlayerIndex === 0) setPlayer1Injuries(updateInjuries);
|
|
776
|
+
else if (targetPlayerIndex === 1) setPlayer2Injuries(updateInjuries);
|
|
777
|
+
}, []);
|
|
778
|
+
const { handleAttack, handleDefend, handleStanceSwitch, handleStanceSideSwitch, handleAIAttack, handleAIDefend, handleAITechnique, moveAIPlayer } = useCombatActions({
|
|
779
|
+
validPlayers,
|
|
780
|
+
playerPositions: [playerPositions[0], playerPositions[1]],
|
|
781
|
+
combatState,
|
|
782
|
+
combatActions,
|
|
783
|
+
combatSystem,
|
|
784
|
+
onPlayerUpdate,
|
|
785
|
+
onPlayerPositionUpdate: handlePlayerPositionUpdate,
|
|
786
|
+
onLateralityUpdate: (playerIndex, laterality) => {
|
|
787
|
+
combatActions.setPlayerLateralityIndex(playerIndex, laterality);
|
|
788
|
+
},
|
|
789
|
+
onInjuryCreated: handleInjuryCreated,
|
|
790
|
+
addCombatMessage,
|
|
791
|
+
addHitEffect,
|
|
792
|
+
arenaBounds,
|
|
793
|
+
combatAudio,
|
|
794
|
+
playerAnimations: {
|
|
795
|
+
player1: player1Animation,
|
|
796
|
+
player2: player2Animation
|
|
797
|
+
}
|
|
798
|
+
});
|
|
799
|
+
useEffect(() => {
|
|
800
|
+
handleAttackRef.current = handleAttack;
|
|
801
|
+
}, [handleAttack]);
|
|
802
|
+
const techniqueSelection = useTechniqueSelection({
|
|
803
|
+
player: player1WithLocalStance,
|
|
804
|
+
enabled: !isPaused && combatState.roundStarted && !combatState.roundEnded && matchCountdownComplete && !showRoundStart,
|
|
805
|
+
onTechniqueExecute: useCallback((technique) => {
|
|
806
|
+
feedbackActions.showTechnique(technique.name.korean, technique.name.english);
|
|
807
|
+
const animationName = getAnimationForTechnique(technique.name.english || technique.id);
|
|
808
|
+
setPlayer1AttackAnimation(animationName);
|
|
809
|
+
setPlayer1TechniqueId(technique.id);
|
|
810
|
+
const attackDuration = getAnimation(animationName)?.duration ?? .55;
|
|
811
|
+
const attackFrames = Math.max(1, Math.round(attackDuration * 60));
|
|
812
|
+
player1HitTriggerFrameRef.current = Math.round(attackFrames * .4);
|
|
813
|
+
player1AttackHitFiredRef.current = false;
|
|
814
|
+
player1AttackDurationRef.current = attackDuration;
|
|
815
|
+
player1Animation.transitionToAttack(attackDuration);
|
|
816
|
+
combatActions.setExecutingTechnique(true);
|
|
817
|
+
onPlayerUpdate(0, {
|
|
818
|
+
stamina: Math.max(0, validPlayers[0].stamina - technique.staminaCost),
|
|
819
|
+
ki: Math.max(0, validPlayers[0].ki - technique.kiCost)
|
|
820
|
+
});
|
|
821
|
+
handleAttack(technique);
|
|
822
|
+
addCombatMessage(`${technique.name.korean} 사용!`, `Used ${technique.name.english}!`);
|
|
823
|
+
}, [
|
|
824
|
+
validPlayers,
|
|
825
|
+
onPlayerUpdate,
|
|
826
|
+
feedbackActions,
|
|
827
|
+
handleAttack,
|
|
828
|
+
addCombatMessage,
|
|
829
|
+
player1Animation,
|
|
830
|
+
combatActions
|
|
831
|
+
])
|
|
832
|
+
});
|
|
833
|
+
const cooldownsMap = useMemo(() => {
|
|
834
|
+
const map = /* @__PURE__ */ new Map();
|
|
835
|
+
techniqueSelection.activeCooldowns.forEach((cd) => {
|
|
836
|
+
map.set(cd.techniqueId, cd.remaining);
|
|
837
|
+
});
|
|
838
|
+
return map;
|
|
839
|
+
}, [techniqueSelection.activeCooldowns]);
|
|
840
|
+
const [previousStance, setPreviousStance] = useState(0);
|
|
841
|
+
const currentPlayerStance = validPlayers[0].currentStance;
|
|
842
|
+
const currentStanceIndex = useMemo(() => {
|
|
843
|
+
return STANCE_INDEX_MAP.get(currentPlayerStance) ?? 0;
|
|
844
|
+
}, [currentPlayerStance]);
|
|
845
|
+
const handleStanceChangeWithAnimation = useCallback((newStance) => {
|
|
846
|
+
const currentStance = validPlayers[0].currentStance;
|
|
847
|
+
if (player1Animation.transitionToStanceGuard(newStance)) {
|
|
848
|
+
setPreviousStance(STANCE_INDEX_MAP.get(currentStance) ?? 0);
|
|
849
|
+
setPlayer1LocalStance(newStance);
|
|
850
|
+
handleStanceSwitch(newStance);
|
|
851
|
+
playStanceChangeSound();
|
|
852
|
+
}
|
|
853
|
+
}, [
|
|
854
|
+
validPlayers,
|
|
855
|
+
player1Animation,
|
|
856
|
+
handleStanceSwitch,
|
|
857
|
+
playStanceChangeSound
|
|
858
|
+
]);
|
|
859
|
+
const player1Health = validPlayers[0].health;
|
|
860
|
+
const player2Health = validPlayers[1].health;
|
|
861
|
+
const lastPlayer2HealthRef = useRef(player2Health);
|
|
862
|
+
useEffect(() => {
|
|
863
|
+
const currentHealth = player2Health;
|
|
864
|
+
const damageDone = lastPlayer2HealthRef.current - currentHealth;
|
|
865
|
+
if (damageDone > 0 && combatState.roundStarted && !combatState.roundEnded) {
|
|
866
|
+
const getDamageType = () => {
|
|
867
|
+
if (damageDone >= 25) return "critical";
|
|
868
|
+
if (damageDone >= 20) return "vital";
|
|
869
|
+
return "normal";
|
|
870
|
+
};
|
|
871
|
+
const damageType = getDamageType();
|
|
872
|
+
feedbackActions.addDamageNumber(Math.round(damageDone), playerPositions[1], damageType);
|
|
873
|
+
feedbackActions.incrementCombo();
|
|
874
|
+
if (damageType === "critical") feedbackActions.addActionFeedback("critical", "Critical!", "치명타!", playerPositions[0]);
|
|
875
|
+
}
|
|
876
|
+
lastPlayer2HealthRef.current = currentHealth;
|
|
877
|
+
}, [
|
|
878
|
+
player2Health,
|
|
879
|
+
validPlayers,
|
|
880
|
+
playerPositions,
|
|
881
|
+
feedbackActions,
|
|
882
|
+
combatState.roundStarted,
|
|
883
|
+
combatState.roundEnded
|
|
884
|
+
]);
|
|
885
|
+
const lastPlayer1HealthRef = useRef(player1Health);
|
|
886
|
+
useEffect(() => {
|
|
887
|
+
const currentHealth = player1Health;
|
|
888
|
+
const damageDone = lastPlayer1HealthRef.current - currentHealth;
|
|
889
|
+
if (damageDone > 0 && combatState.roundStarted && !combatState.roundEnded) {
|
|
890
|
+
const damageType = damageDone >= 20 ? "critical" : "normal";
|
|
891
|
+
feedbackActions.addDamageNumber(Math.round(damageDone), playerPositions[0], damageType);
|
|
892
|
+
}
|
|
893
|
+
lastPlayer1HealthRef.current = currentHealth;
|
|
894
|
+
}, [
|
|
895
|
+
player1Health,
|
|
896
|
+
validPlayers,
|
|
897
|
+
playerPositions,
|
|
898
|
+
feedbackActions,
|
|
899
|
+
combatState.roundStarted,
|
|
900
|
+
combatState.roundEnded
|
|
901
|
+
]);
|
|
902
|
+
const handleAttackWithFeedback = useCallback(() => {
|
|
903
|
+
setPlayer1AttackAnimation("jab");
|
|
904
|
+
if (player1Animation.transitionTo(AnimationState.ATTACK)) combatActions.setExecutingTechnique(true);
|
|
905
|
+
else {
|
|
906
|
+
console.warn("Attack animation transition failed; executing attack logic directly.");
|
|
907
|
+
handleAttack();
|
|
908
|
+
}
|
|
909
|
+
}, [
|
|
910
|
+
player1Animation,
|
|
911
|
+
combatActions,
|
|
912
|
+
handleAttack
|
|
913
|
+
]);
|
|
914
|
+
const handleDefendWithFeedback = useCallback(() => {
|
|
915
|
+
const defenderPos = playerPositions[0];
|
|
916
|
+
if (player1Animation.transitionTo(AnimationState.DEFEND)) {
|
|
917
|
+
handleDefend();
|
|
918
|
+
feedbackActions.addActionFeedback("blocked", "Blocked", "방어!", defenderPos);
|
|
919
|
+
} else {
|
|
920
|
+
console.warn("Defend animation transition failed; executing defend logic directly.");
|
|
921
|
+
handleDefend();
|
|
922
|
+
feedbackActions.addActionFeedback("blocked", "Blocked", "방어!", defenderPos);
|
|
923
|
+
}
|
|
924
|
+
}, [
|
|
925
|
+
handleDefend,
|
|
926
|
+
playerPositions,
|
|
927
|
+
feedbackActions,
|
|
928
|
+
player1Animation
|
|
929
|
+
]);
|
|
930
|
+
/**
|
|
931
|
+
* Helper function to execute fallback recovery animation
|
|
932
|
+
* when a specific recovery type cannot be performed.
|
|
933
|
+
*
|
|
934
|
+
* Determines the appropriate recovery type based on ground state
|
|
935
|
+
* and transitions to that animation.
|
|
936
|
+
*
|
|
937
|
+
* @korean 대체회복실행
|
|
938
|
+
*/
|
|
939
|
+
const executeFallbackRecovery = useCallback(() => {
|
|
940
|
+
const groundState = balanceSystem.getGroundState(player1Animation.currentState);
|
|
941
|
+
if (groundState) {
|
|
942
|
+
const animationState = getRecoveryAnimationState(determineRecoveryType(groundState));
|
|
943
|
+
player1Animation.transitionTo(animationState);
|
|
944
|
+
}
|
|
945
|
+
}, [balanceSystem, player1Animation]);
|
|
946
|
+
const { queuedInputs, showHints } = useKeyboardControls({
|
|
947
|
+
onStanceChange: useCallback((stanceIndex) => {
|
|
948
|
+
const stance = TRIGRAM_STANCES_ORDER[stanceIndex];
|
|
949
|
+
if (stance) handleStanceChangeWithAnimation(stance);
|
|
950
|
+
}, [handleStanceChangeWithAnimation]),
|
|
951
|
+
onAction: useCallback((action) => {
|
|
952
|
+
switch (action) {
|
|
953
|
+
case "attack":
|
|
954
|
+
techniqueSelection.executeTechnique();
|
|
955
|
+
break;
|
|
956
|
+
case "block":
|
|
957
|
+
handleDefendWithFeedback();
|
|
958
|
+
break;
|
|
959
|
+
case "recovery_quick":
|
|
960
|
+
executeFallbackRecovery();
|
|
961
|
+
break;
|
|
962
|
+
case "recovery_roll": {
|
|
963
|
+
const player1 = players[0];
|
|
964
|
+
if (balanceSystem.canRecoverWithType(player1, "roll_recovery")) {
|
|
965
|
+
onPlayerUpdate(0, { stamina: balanceSystem.applyRecoveryCost(player1, "roll_recovery").stamina });
|
|
966
|
+
player1Animation.transitionTo(AnimationState.RECOVERY_ROLL);
|
|
967
|
+
} else {
|
|
968
|
+
audio.playSFX("menu_error");
|
|
969
|
+
const player1Pos = playerPositions[0];
|
|
970
|
+
feedbackActions.addActionFeedback("blocked", "Not enough stamina!", "체력 부족!", player1Pos);
|
|
971
|
+
executeFallbackRecovery();
|
|
972
|
+
}
|
|
973
|
+
break;
|
|
974
|
+
}
|
|
975
|
+
case "recovery_defensive":
|
|
976
|
+
player1Animation.transitionTo(AnimationState.RECOVERY_DEFENSIVE);
|
|
977
|
+
break;
|
|
978
|
+
case "footwork_circular_left":
|
|
979
|
+
case "footwork_circular_right":
|
|
980
|
+
case "footwork_slide_forward":
|
|
981
|
+
case "footwork_slide_back":
|
|
982
|
+
case "footwork_pivot_left":
|
|
983
|
+
case "footwork_pivot_right":
|
|
984
|
+
case "footwork_shuffle":
|
|
985
|
+
player1Animation.transitionTo(action);
|
|
986
|
+
break;
|
|
987
|
+
case "stance_side_switch":
|
|
988
|
+
player1Animation.transitionTo(AnimationState.STANCE_SIDE_SWITCH);
|
|
989
|
+
break;
|
|
990
|
+
}
|
|
991
|
+
}, [
|
|
992
|
+
techniqueSelection,
|
|
993
|
+
handleDefendWithFeedback,
|
|
994
|
+
executeFallbackRecovery,
|
|
995
|
+
balanceSystem,
|
|
996
|
+
player1Animation,
|
|
997
|
+
players,
|
|
998
|
+
onPlayerUpdate,
|
|
999
|
+
audio,
|
|
1000
|
+
feedbackActions,
|
|
1001
|
+
playerPositions
|
|
1002
|
+
]),
|
|
1003
|
+
enabled: !isPaused && !showPauseMenu && combatState.roundStarted && !combatState.roundEnded && matchCountdownComplete && !showRoundStart && !combatState.isExecutingTechnique,
|
|
1004
|
+
currentStance: currentStanceIndex,
|
|
1005
|
+
playSFX: audio.playSFX,
|
|
1006
|
+
currentAnimationState: player1Animation.currentState
|
|
1007
|
+
});
|
|
1008
|
+
const [stanceWheelExpanded, setStanceWheelExpanded] = useState(false);
|
|
1009
|
+
const activeMobileKeyRef = useRef(null);
|
|
1010
|
+
/**
|
|
1011
|
+
* Mobile touch control handler - Converts VirtualDPad touch inputs to keyboard events
|
|
1012
|
+
*
|
|
1013
|
+
* Dispatches synthetic KeyboardEvents with proper properties to ensure compatibility
|
|
1014
|
+
* with usePlayerMovement hook. The synthetic events include:
|
|
1015
|
+
* - key: The character key (w/a/s/d)
|
|
1016
|
+
* - code: The physical key code (KeyW/KeyA/KeyS/KeyD)
|
|
1017
|
+
* - bubbles: true - Allows event to propagate through DOM
|
|
1018
|
+
* - cancelable: true - Allows event to be prevented
|
|
1019
|
+
*
|
|
1020
|
+
* These properties are essential for the keyboard event listeners in inputSystem.ts
|
|
1021
|
+
* to properly recognize and process the movement commands.
|
|
1022
|
+
*
|
|
1023
|
+
* @param direction - The D-pad direction or null
|
|
1024
|
+
* @param eventType - 'start' for press, 'end' for release
|
|
1025
|
+
*/
|
|
1026
|
+
const handleMobileMove = useCallback((direction, eventType) => {
|
|
1027
|
+
const directionMap = {
|
|
1028
|
+
up: "w",
|
|
1029
|
+
"up-right": "w",
|
|
1030
|
+
right: "d",
|
|
1031
|
+
"down-right": "s",
|
|
1032
|
+
down: "s",
|
|
1033
|
+
"down-left": "s",
|
|
1034
|
+
left: "a",
|
|
1035
|
+
"up-left": "w"
|
|
1036
|
+
};
|
|
1037
|
+
if (eventType === "start" && direction) {
|
|
1038
|
+
if (activeMobileKeyRef.current && activeMobileKeyRef.current !== directionMap[direction]) {
|
|
1039
|
+
const prevKey = activeMobileKeyRef.current;
|
|
1040
|
+
window.dispatchEvent(new KeyboardEvent("keyup", {
|
|
1041
|
+
key: prevKey,
|
|
1042
|
+
code: `Key${prevKey.toUpperCase()}`,
|
|
1043
|
+
bubbles: true,
|
|
1044
|
+
cancelable: true
|
|
1045
|
+
}));
|
|
1046
|
+
}
|
|
1047
|
+
const key = directionMap[direction];
|
|
1048
|
+
activeMobileKeyRef.current = key;
|
|
1049
|
+
window.dispatchEvent(new KeyboardEvent("keydown", {
|
|
1050
|
+
key,
|
|
1051
|
+
code: `Key${key.toUpperCase()}`,
|
|
1052
|
+
bubbles: true,
|
|
1053
|
+
cancelable: true
|
|
1054
|
+
}));
|
|
1055
|
+
} else if (eventType === "end") {
|
|
1056
|
+
if (activeMobileKeyRef.current) {
|
|
1057
|
+
const key = activeMobileKeyRef.current;
|
|
1058
|
+
window.dispatchEvent(new KeyboardEvent("keyup", {
|
|
1059
|
+
key,
|
|
1060
|
+
code: `Key${key.toUpperCase()}`,
|
|
1061
|
+
bubbles: true,
|
|
1062
|
+
cancelable: true
|
|
1063
|
+
}));
|
|
1064
|
+
activeMobileKeyRef.current = null;
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
}, []);
|
|
1068
|
+
const handleMobileAttack = useCallback(() => {
|
|
1069
|
+
techniqueSelection.executeTechnique();
|
|
1070
|
+
}, [techniqueSelection]);
|
|
1071
|
+
const handleMobileBlock = useCallback((eventType) => {
|
|
1072
|
+
if (eventType === "start") handleDefendWithFeedback();
|
|
1073
|
+
}, [handleDefendWithFeedback]);
|
|
1074
|
+
const handleMobileStanceChange = useCallback((stanceIndex) => {
|
|
1075
|
+
const stance = TRIGRAM_STANCES_ORDER[stanceIndex];
|
|
1076
|
+
if (stance) handleStanceChangeWithAnimation(stance);
|
|
1077
|
+
}, [handleStanceChangeWithAnimation]);
|
|
1078
|
+
const handleMobileGesture = useCallback((gesture) => {
|
|
1079
|
+
switch (gesture.type) {
|
|
1080
|
+
case "swipe-right":
|
|
1081
|
+
window.dispatchEvent(new KeyboardEvent("keydown", { key: "d" }));
|
|
1082
|
+
setTimeout(() => {
|
|
1083
|
+
window.dispatchEvent(new KeyboardEvent("keyup", { key: "d" }));
|
|
1084
|
+
}, 100);
|
|
1085
|
+
break;
|
|
1086
|
+
case "swipe-left":
|
|
1087
|
+
window.dispatchEvent(new KeyboardEvent("keydown", { key: "a" }));
|
|
1088
|
+
setTimeout(() => {
|
|
1089
|
+
window.dispatchEvent(new KeyboardEvent("keyup", { key: "a" }));
|
|
1090
|
+
}, 100);
|
|
1091
|
+
break;
|
|
1092
|
+
case "swipe-up":
|
|
1093
|
+
techniqueSelection.executeTechnique();
|
|
1094
|
+
break;
|
|
1095
|
+
case "swipe-down":
|
|
1096
|
+
techniqueSelection.executeTechnique();
|
|
1097
|
+
break;
|
|
1098
|
+
case "two-finger-tap":
|
|
1099
|
+
audio.playSFX("menu_select");
|
|
1100
|
+
break;
|
|
1101
|
+
}
|
|
1102
|
+
}, [techniqueSelection, audio]);
|
|
1103
|
+
const toggleStanceWheel = useCallback(() => {
|
|
1104
|
+
setStanceWheelExpanded((prev) => !prev);
|
|
1105
|
+
}, []);
|
|
1106
|
+
const mobileControlsEnabled = isMobile && !isPaused && !showPauseMenu && combatState.roundStarted && !combatState.roundEnded && matchCountdownComplete && !showRoundStart && !combatState.isExecutingTechnique;
|
|
1107
|
+
useEffect(() => {
|
|
1108
|
+
if (isPaused) return;
|
|
1109
|
+
if (timeRemaining <= 0 && !combatState.roundEnded) {
|
|
1110
|
+
combatActions.setRoundEnded(true);
|
|
1111
|
+
combatActions.setRoundStarted(false);
|
|
1112
|
+
combatActions.setRoundDisplayStatus("end");
|
|
1113
|
+
combatAudio.stopCombatMusic(1e3);
|
|
1114
|
+
const winner = validPlayers[0].health > validPlayers[1].health ? 0 : 1;
|
|
1115
|
+
const roundWinner = validPlayers[winner];
|
|
1116
|
+
updateMatchScore(winner);
|
|
1117
|
+
addCombatMessage("라운드 종료!", "Round Over!");
|
|
1118
|
+
setTimeout(() => {
|
|
1119
|
+
startTransition(roundWinner, internalRound);
|
|
1120
|
+
}, 1500);
|
|
1121
|
+
}
|
|
1122
|
+
}, [
|
|
1123
|
+
timeRemaining,
|
|
1124
|
+
combatState.roundEnded,
|
|
1125
|
+
combatState.roundStarted,
|
|
1126
|
+
validPlayers,
|
|
1127
|
+
onGameEnd,
|
|
1128
|
+
addCombatMessage,
|
|
1129
|
+
internalRound,
|
|
1130
|
+
isPaused,
|
|
1131
|
+
combatActions,
|
|
1132
|
+
combatAudio,
|
|
1133
|
+
startTransition,
|
|
1134
|
+
updateMatchScore
|
|
1135
|
+
]);
|
|
1136
|
+
const executeAIActionCallbackRef = useRef(void 0);
|
|
1137
|
+
const { updateDifficultyTarget } = useAICombat({
|
|
1138
|
+
player: validPlayers[1],
|
|
1139
|
+
opponent: validPlayers[0],
|
|
1140
|
+
personality: aiPersonality,
|
|
1141
|
+
adaptiveDifficulty,
|
|
1142
|
+
isPaused,
|
|
1143
|
+
roundStarted: combatState.roundStarted,
|
|
1144
|
+
roundEnded: combatState.roundEnded,
|
|
1145
|
+
arenaBounds,
|
|
1146
|
+
onExecuteAction: (action, targetPos, selectedTechnique, targetVitalPoint) => executeAIActionCallbackRef.current?.(action, targetPos, selectedTechnique, targetVitalPoint),
|
|
1147
|
+
onStanceChange: handleAIStanceChange,
|
|
1148
|
+
onLateralityChange: () => handleStanceSideSwitch(1),
|
|
1149
|
+
playerLaterality: combatState.playerLaterality[1],
|
|
1150
|
+
opponentLaterality: combatState.playerLaterality[0]
|
|
1151
|
+
});
|
|
1152
|
+
const currentDifficultyTier = useMemo(() => adaptiveDifficulty.getDifficultyTier(), [adaptiveDifficulty]);
|
|
1153
|
+
useEffect(() => {
|
|
1154
|
+
if (!combatState.roundEnded || internalRound < 1) return;
|
|
1155
|
+
if (internalRound % 2 === 0) {
|
|
1156
|
+
const player1 = validPlayersRef.current[0];
|
|
1157
|
+
adaptiveDifficulty.updateSkillMetrics({
|
|
1158
|
+
hitsLanded: player1.hitsLanded ?? 0,
|
|
1159
|
+
totalAttacks: (player1.hitsLanded ?? 0) + (player1.misses ?? 0),
|
|
1160
|
+
combosExecuted: 0,
|
|
1161
|
+
perfectBlockCount: 0,
|
|
1162
|
+
avgReactionTimeMs: 600,
|
|
1163
|
+
vitalPointsHit: 0,
|
|
1164
|
+
effectiveStanceChanges: 0,
|
|
1165
|
+
damageDealt: player1.totalDamageDealt ?? 0,
|
|
1166
|
+
damageTaken: player1.totalDamageReceived ?? 0
|
|
1167
|
+
});
|
|
1168
|
+
updateDifficultyTarget(adaptiveDifficulty.getDifficultyParameters());
|
|
1169
|
+
}
|
|
1170
|
+
}, [
|
|
1171
|
+
combatState.roundEnded,
|
|
1172
|
+
internalRound,
|
|
1173
|
+
adaptiveDifficulty,
|
|
1174
|
+
updateDifficultyTarget
|
|
1175
|
+
]);
|
|
1176
|
+
const executeAIActionCallback = useCallback((action, targetPos, selectedTechnique, targetVitalPoint) => {
|
|
1177
|
+
switch (action) {
|
|
1178
|
+
case "attack":
|
|
1179
|
+
if (selectedTechnique?.name?.english || selectedTechnique?.englishName) {
|
|
1180
|
+
const p2AttackAnimName = getAnimationForTechnique(selectedTechnique.name?.english ?? selectedTechnique.englishName ?? "jab");
|
|
1181
|
+
setPlayer2AttackAnimation(p2AttackAnimName);
|
|
1182
|
+
if (selectedTechnique?.id) setPlayer2TechniqueId(selectedTechnique.id);
|
|
1183
|
+
const p2AttackDur = getAnimation(p2AttackAnimName)?.duration ?? .55;
|
|
1184
|
+
player2AttackDurationRef.current = p2AttackDur;
|
|
1185
|
+
player2Animation.transitionToAttack(p2AttackDur);
|
|
1186
|
+
} else {
|
|
1187
|
+
setPlayer2AttackAnimation("jab");
|
|
1188
|
+
player2AttackDurationRef.current = .55;
|
|
1189
|
+
player2Animation.transitionToAttack(.55);
|
|
1190
|
+
}
|
|
1191
|
+
handleAIAttack(selectedTechnique, targetVitalPoint);
|
|
1192
|
+
break;
|
|
1193
|
+
case "defend":
|
|
1194
|
+
player2Animation.transitionTo(AnimationState.DEFEND);
|
|
1195
|
+
handleAIDefend();
|
|
1196
|
+
break;
|
|
1197
|
+
case "technique":
|
|
1198
|
+
case "combo":
|
|
1199
|
+
if (selectedTechnique?.name?.english || selectedTechnique?.englishName) {
|
|
1200
|
+
const p2TechAnimName = getAnimationForTechnique(selectedTechnique.name?.english ?? selectedTechnique.englishName ?? "cross");
|
|
1201
|
+
setPlayer2AttackAnimation(p2TechAnimName);
|
|
1202
|
+
if (selectedTechnique?.id) setPlayer2TechniqueId(selectedTechnique.id);
|
|
1203
|
+
const p2TechDur = getAnimation(p2TechAnimName)?.duration ?? .6;
|
|
1204
|
+
player2AttackDurationRef.current = p2TechDur;
|
|
1205
|
+
player2Animation.transitionToAttack(p2TechDur);
|
|
1206
|
+
} else {
|
|
1207
|
+
setPlayer2AttackAnimation("cross");
|
|
1208
|
+
player2AttackDurationRef.current = .6;
|
|
1209
|
+
player2Animation.transitionToAttack(.6);
|
|
1210
|
+
}
|
|
1211
|
+
handleAITechnique(selectedTechnique, targetVitalPoint);
|
|
1212
|
+
break;
|
|
1213
|
+
case "approach":
|
|
1214
|
+
case "retreat":
|
|
1215
|
+
case "circle":
|
|
1216
|
+
if (targetPos) moveAIPlayer(targetPos);
|
|
1217
|
+
break;
|
|
1218
|
+
case "feint":
|
|
1219
|
+
{
|
|
1220
|
+
const playerPos = validPlayers[0].position;
|
|
1221
|
+
const feintOffsetMeters = .5;
|
|
1222
|
+
moveAIPlayer({
|
|
1223
|
+
x: playerPos.x + (Math.random() - .5) * feintOffsetMeters,
|
|
1224
|
+
y: playerPos.y + (Math.random() - .5) * feintOffsetMeters
|
|
1225
|
+
});
|
|
1226
|
+
addCombatMessage("AI 페인트", "AI Feint");
|
|
1227
|
+
setTimeout(() => {
|
|
1228
|
+
if (!combatState.roundEnded && combatState.roundStarted && validPlayers.length >= 2) {
|
|
1229
|
+
const currentPlayerPos = validPlayers[0].position;
|
|
1230
|
+
const currentAiPos = validPlayers[1].position;
|
|
1231
|
+
const dx = currentAiPos.x - currentPlayerPos.x;
|
|
1232
|
+
const dy = currentAiPos.y - currentPlayerPos.y;
|
|
1233
|
+
const dist = Math.sqrt(dx * dx + dy * dy) || 1;
|
|
1234
|
+
const retreatDistanceMeters = .8;
|
|
1235
|
+
const halfWidth = arenaBounds.worldWidthMeters / 2;
|
|
1236
|
+
const halfDepth = arenaBounds.worldDepthMeters / 2;
|
|
1237
|
+
moveAIPlayer({
|
|
1238
|
+
x: Math.max(-halfWidth + .5, Math.min(halfWidth - .5, currentPlayerPos.x + dx / dist * retreatDistanceMeters)),
|
|
1239
|
+
y: Math.max(-halfDepth + .5, Math.min(halfDepth - .5, currentPlayerPos.y + dy / dist * retreatDistanceMeters))
|
|
1240
|
+
});
|
|
1241
|
+
}
|
|
1242
|
+
}, 200);
|
|
1243
|
+
}
|
|
1244
|
+
break;
|
|
1245
|
+
case "counter":
|
|
1246
|
+
if (selectedTechnique?.name?.english || selectedTechnique?.englishName) {
|
|
1247
|
+
const p2CounterAnimName = getAnimationForTechnique(selectedTechnique.name?.english ?? selectedTechnique.englishName ?? "cross");
|
|
1248
|
+
setPlayer2AttackAnimation(p2CounterAnimName);
|
|
1249
|
+
if (selectedTechnique?.id) setPlayer2TechniqueId(selectedTechnique.id);
|
|
1250
|
+
const p2CounterDur = getAnimation(p2CounterAnimName)?.duration ?? .6;
|
|
1251
|
+
player2AttackDurationRef.current = p2CounterDur;
|
|
1252
|
+
player2Animation.transitionToAttack(p2CounterDur);
|
|
1253
|
+
} else {
|
|
1254
|
+
setPlayer2AttackAnimation("cross");
|
|
1255
|
+
player2AttackDurationRef.current = .6;
|
|
1256
|
+
player2Animation.transitionToAttack(.6);
|
|
1257
|
+
}
|
|
1258
|
+
handleAIAttack(selectedTechnique, targetVitalPoint);
|
|
1259
|
+
addCombatMessage("AI 반격!", "AI Counter!");
|
|
1260
|
+
break;
|
|
1261
|
+
}
|
|
1262
|
+
}, [
|
|
1263
|
+
handleAIAttack,
|
|
1264
|
+
handleAIDefend,
|
|
1265
|
+
handleAITechnique,
|
|
1266
|
+
moveAIPlayer,
|
|
1267
|
+
addCombatMessage,
|
|
1268
|
+
validPlayers,
|
|
1269
|
+
arenaBounds,
|
|
1270
|
+
combatState.roundEnded,
|
|
1271
|
+
combatState.roundStarted,
|
|
1272
|
+
player2Animation
|
|
1273
|
+
]);
|
|
1274
|
+
useEffect(() => {
|
|
1275
|
+
executeAIActionCallbackRef.current = executeAIActionCallback;
|
|
1276
|
+
}, [executeAIActionCallback]);
|
|
1277
|
+
useEffect(() => {
|
|
1278
|
+
if (combatState.roundEnded && validPlayers.length === 2) {
|
|
1279
|
+
const player = validPlayers[0];
|
|
1280
|
+
const totalAttacks = (player.hitsLanded ?? 0) + (player.hitsTaken ?? 0);
|
|
1281
|
+
if (totalAttacks === 0) return;
|
|
1282
|
+
adaptiveDifficulty.updateSkillMetrics({
|
|
1283
|
+
hitsLanded: player.hitsLanded ?? 0,
|
|
1284
|
+
totalAttacks,
|
|
1285
|
+
combosExecuted: player.comboCount ?? 0,
|
|
1286
|
+
perfectBlockCount: 0,
|
|
1287
|
+
avgReactionTimeMs: 500,
|
|
1288
|
+
vitalPointsHit: player.vitalPointHits ?? 0,
|
|
1289
|
+
effectiveStanceChanges: 0,
|
|
1290
|
+
damageDealt: player.totalDamageDealt ?? 0,
|
|
1291
|
+
damageTaken: player.totalDamageReceived ?? 0
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
}, [
|
|
1295
|
+
combatState.roundEnded,
|
|
1296
|
+
adaptiveDifficulty,
|
|
1297
|
+
validPlayers
|
|
1298
|
+
]);
|
|
1299
|
+
const checkGameEnd = useCallback(() => {
|
|
1300
|
+
if (combatState.roundEnded) return;
|
|
1301
|
+
const p1Defeated = validPlayers[0].health <= 0;
|
|
1302
|
+
const p2Defeated = validPlayers[1].health <= 0;
|
|
1303
|
+
if (p1Defeated || p2Defeated) {
|
|
1304
|
+
combatActions.setRoundEnded(true);
|
|
1305
|
+
combatActions.setRoundStarted(false);
|
|
1306
|
+
combatActions.setRoundDisplayStatus("ko");
|
|
1307
|
+
const winner = p1Defeated ? 1 : 0;
|
|
1308
|
+
const roundWinner = validPlayers[winner];
|
|
1309
|
+
updateMatchScore(winner);
|
|
1310
|
+
addCombatMessage(p1Defeated ? "플레이어 1 패배" : "플레이어 1 승리!", p1Defeated ? "Player 1 Defeated" : "Player 1 Victory!");
|
|
1311
|
+
setTimeout(() => {
|
|
1312
|
+
startTransition(roundWinner, internalRound);
|
|
1313
|
+
}, 1500);
|
|
1314
|
+
}
|
|
1315
|
+
}, [
|
|
1316
|
+
validPlayers,
|
|
1317
|
+
addCombatMessage,
|
|
1318
|
+
combatState.roundEnded,
|
|
1319
|
+
combatActions,
|
|
1320
|
+
internalRound,
|
|
1321
|
+
startTransition,
|
|
1322
|
+
updateMatchScore
|
|
1323
|
+
]);
|
|
1324
|
+
useEffect(() => {
|
|
1325
|
+
checkGameEnd();
|
|
1326
|
+
}, [
|
|
1327
|
+
player1Health,
|
|
1328
|
+
player2Health,
|
|
1329
|
+
checkGameEnd
|
|
1330
|
+
]);
|
|
1331
|
+
useEffect(() => {
|
|
1332
|
+
const handleCombatInput = (event) => {
|
|
1333
|
+
if (event.key === "Escape") {
|
|
1334
|
+
event.preventDefault();
|
|
1335
|
+
if (showPauseMenu) handleResume();
|
|
1336
|
+
else handlePause();
|
|
1337
|
+
return;
|
|
1338
|
+
}
|
|
1339
|
+
if (isPaused || showPauseMenu) return;
|
|
1340
|
+
if (!matchCountdownComplete || showRoundStart) return;
|
|
1341
|
+
if (!combatState.roundStarted || combatState.roundEnded || combatState.isExecutingTechnique) return;
|
|
1342
|
+
const key = event.key.toLowerCase();
|
|
1343
|
+
if (key >= "1" && key <= "8") {
|
|
1344
|
+
const stanceIndex = parseInt(key) - 1;
|
|
1345
|
+
handleStanceSwitch([
|
|
1346
|
+
TrigramStance.GEON,
|
|
1347
|
+
TrigramStance.TAE,
|
|
1348
|
+
TrigramStance.LI,
|
|
1349
|
+
TrigramStance.JIN,
|
|
1350
|
+
TrigramStance.SON,
|
|
1351
|
+
TrigramStance.GAM,
|
|
1352
|
+
TrigramStance.GAN,
|
|
1353
|
+
TrigramStance.GON
|
|
1354
|
+
][stanceIndex]);
|
|
1355
|
+
event.preventDefault();
|
|
1356
|
+
}
|
|
1357
|
+
if (key === " ") {
|
|
1358
|
+
handleAttackWithFeedback();
|
|
1359
|
+
event.preventDefault();
|
|
1360
|
+
}
|
|
1361
|
+
if (event.key === "Shift") {
|
|
1362
|
+
handleDefendWithFeedback();
|
|
1363
|
+
event.preventDefault();
|
|
1364
|
+
}
|
|
1365
|
+
if (event.key === "f" || event.key === "F") {
|
|
1366
|
+
handleStanceSideSwitch(0);
|
|
1367
|
+
event.preventDefault();
|
|
1368
|
+
}
|
|
1369
|
+
};
|
|
1370
|
+
window.addEventListener("keydown", handleCombatInput);
|
|
1371
|
+
return () => window.removeEventListener("keydown", handleCombatInput);
|
|
1372
|
+
}, [
|
|
1373
|
+
combatState.roundStarted,
|
|
1374
|
+
combatState.roundEnded,
|
|
1375
|
+
combatState.isExecutingTechnique,
|
|
1376
|
+
matchCountdownComplete,
|
|
1377
|
+
showRoundStart,
|
|
1378
|
+
isPaused,
|
|
1379
|
+
showPauseMenu,
|
|
1380
|
+
handleStanceSwitch,
|
|
1381
|
+
handleStanceSideSwitch,
|
|
1382
|
+
handleAttackWithFeedback,
|
|
1383
|
+
handleDefendWithFeedback,
|
|
1384
|
+
handlePause,
|
|
1385
|
+
handleResume
|
|
1386
|
+
]);
|
|
1387
|
+
const player1MovementState = useMemo(() => {
|
|
1388
|
+
if (!validPlayers[0]?.bodyPartHealth) return {
|
|
1389
|
+
statusText: {
|
|
1390
|
+
korean: "정상",
|
|
1391
|
+
english: "Normal"
|
|
1392
|
+
},
|
|
1393
|
+
isLimping: false,
|
|
1394
|
+
isSevereLimp: false
|
|
1395
|
+
};
|
|
1396
|
+
const result = injuryMovementModifier.calculateMovementSpeed(1, validPlayers[0].bodyPartHealth, validPlayers[0].currentStance ?? TrigramStance.GEON, validPlayers[0].pain ?? 0);
|
|
1397
|
+
return {
|
|
1398
|
+
statusText: result.statusText,
|
|
1399
|
+
isLimping: result.isLimping,
|
|
1400
|
+
isSevereLimp: result.isSevereLimp,
|
|
1401
|
+
speedMultiplier: result.speedMultiplier
|
|
1402
|
+
};
|
|
1403
|
+
}, [validPlayers]);
|
|
1404
|
+
const player2MovementState = useMemo(() => {
|
|
1405
|
+
if (!validPlayers[1]?.bodyPartHealth) return {
|
|
1406
|
+
statusText: {
|
|
1407
|
+
korean: "정상",
|
|
1408
|
+
english: "Normal"
|
|
1409
|
+
},
|
|
1410
|
+
isLimping: false,
|
|
1411
|
+
isSevereLimp: false
|
|
1412
|
+
};
|
|
1413
|
+
const result = injuryMovementModifier.calculateMovementSpeed(1, validPlayers[1].bodyPartHealth, validPlayers[1].currentStance ?? TrigramStance.GEON, validPlayers[1].pain ?? 0);
|
|
1414
|
+
return {
|
|
1415
|
+
statusText: result.statusText,
|
|
1416
|
+
isLimping: result.isLimping,
|
|
1417
|
+
isSevereLimp: result.isSevereLimp,
|
|
1418
|
+
speedMultiplier: result.speedMultiplier
|
|
1419
|
+
};
|
|
1420
|
+
}, [validPlayers]);
|
|
1421
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1422
|
+
style: {
|
|
1423
|
+
width: `${width}px`,
|
|
1424
|
+
height: `${height}px`,
|
|
1425
|
+
position: "relative",
|
|
1426
|
+
backgroundColor: "#0a0a0a",
|
|
1427
|
+
overflow: "hidden"
|
|
1428
|
+
},
|
|
1429
|
+
"data-testid": "combat-screen",
|
|
1430
|
+
children: [
|
|
1431
|
+
/* @__PURE__ */ jsxs(Canvas, {
|
|
1432
|
+
style: {
|
|
1433
|
+
width: `${width}px`,
|
|
1434
|
+
height: `${height}px`
|
|
1435
|
+
},
|
|
1436
|
+
camera: {
|
|
1437
|
+
position: cameraConfig.position,
|
|
1438
|
+
fov: cameraConfig.fov,
|
|
1439
|
+
near: cameraConfig.near,
|
|
1440
|
+
far: cameraConfig.far
|
|
1441
|
+
},
|
|
1442
|
+
gl: {
|
|
1443
|
+
antialias: renderConfig.antialias,
|
|
1444
|
+
alpha: false,
|
|
1445
|
+
powerPreference: "high-performance",
|
|
1446
|
+
failIfMajorPerformanceCaveat: false
|
|
1447
|
+
},
|
|
1448
|
+
dpr: renderConfig.dpr,
|
|
1449
|
+
shadows: false,
|
|
1450
|
+
onCreated: ({ gl }) => {
|
|
1451
|
+
gl.setClearColor(theme.colors.UI_BACKGROUND_DARK, 1);
|
|
1452
|
+
},
|
|
1453
|
+
children: [
|
|
1454
|
+
/* @__PURE__ */ jsx("ambientLight", { intensity: .6 }),
|
|
1455
|
+
/* @__PURE__ */ jsx("directionalLight", {
|
|
1456
|
+
position: [
|
|
1457
|
+
10,
|
|
1458
|
+
10,
|
|
1459
|
+
5
|
|
1460
|
+
],
|
|
1461
|
+
intensity: 1.2
|
|
1462
|
+
}),
|
|
1463
|
+
/* @__PURE__ */ jsxs(AdaptiveQualityWrapper, { children: [
|
|
1464
|
+
showPerformanceOverlay && !showPerformanceMonitor && /* @__PURE__ */ jsx(PerformanceOverlay3D, {}),
|
|
1465
|
+
/* @__PURE__ */ jsx(CombatArena3D, {
|
|
1466
|
+
lighting: "cyberpunk",
|
|
1467
|
+
scale: arenaBounds.scale,
|
|
1468
|
+
worldWidthMeters: arenaBounds.worldWidthMeters,
|
|
1469
|
+
worldDepthMeters: arenaBounds.worldDepthMeters
|
|
1470
|
+
}),
|
|
1471
|
+
/* @__PURE__ */ jsx(AnimationUpdater, {
|
|
1472
|
+
player1Animation,
|
|
1473
|
+
player2Animation
|
|
1474
|
+
}),
|
|
1475
|
+
/* @__PURE__ */ jsx(AccelerationUpdater, {
|
|
1476
|
+
isMoving: player1IsMoving,
|
|
1477
|
+
velocity: player1Velocity,
|
|
1478
|
+
movementTimeRef: player1MovementTimeRef,
|
|
1479
|
+
lastDirectionRef: player1LastDirectionRef,
|
|
1480
|
+
onSpeedUpdate: setPlayer1AccelerationBasedSpeed,
|
|
1481
|
+
walkSpeed: player1WalkRunSpeeds.walkSpeed,
|
|
1482
|
+
runSpeed: player1WalkRunSpeeds.runSpeed
|
|
1483
|
+
}),
|
|
1484
|
+
/* @__PURE__ */ jsx(Player3DWithTransitions, {
|
|
1485
|
+
...convertPlayerStateToProps(validPlayers[0], player1PositionWithAttackMovement, player1Rotation, {
|
|
1486
|
+
isMobile,
|
|
1487
|
+
facing: "right",
|
|
1488
|
+
enableFacialExpressions: true,
|
|
1489
|
+
enableEyeTracking: true,
|
|
1490
|
+
opponentPosition: player2PositionWithAttackMovement
|
|
1491
|
+
}),
|
|
1492
|
+
currentAnimation: animationStateToPlayerAnimation(player1Animation.currentState),
|
|
1493
|
+
attackAnimation: player1AttackAnimation,
|
|
1494
|
+
laterality: combatState.playerLaterality[0],
|
|
1495
|
+
enableTransitionEffects: !isMobile,
|
|
1496
|
+
enableStanceSymbol: !isMobile,
|
|
1497
|
+
enableStanceAudio: true
|
|
1498
|
+
}),
|
|
1499
|
+
/* @__PURE__ */ jsx(Player3DWithTransitions, {
|
|
1500
|
+
...convertPlayerStateToProps(validPlayers[1], player2PositionWithAttackMovement, player2Rotation, {
|
|
1501
|
+
isMobile,
|
|
1502
|
+
facing: "right",
|
|
1503
|
+
enableFacialExpressions: true,
|
|
1504
|
+
enableEyeTracking: true,
|
|
1505
|
+
opponentPosition: player1PositionWithAttackMovement
|
|
1506
|
+
}),
|
|
1507
|
+
currentAnimation: animationStateToPlayerAnimation(player2Animation.currentState),
|
|
1508
|
+
attackAnimation: player2AttackAnimation,
|
|
1509
|
+
laterality: combatState.playerLaterality[1],
|
|
1510
|
+
enableTransitionEffects: !isMobile,
|
|
1511
|
+
enableStanceSymbol: !isMobile,
|
|
1512
|
+
enableStanceAudio: true
|
|
1513
|
+
}),
|
|
1514
|
+
(player1MovementState.isLimping || player1MovementState.isSevereLimp) && /* @__PURE__ */ jsx(Html, {
|
|
1515
|
+
position: [
|
|
1516
|
+
player1Position3D[0],
|
|
1517
|
+
player1Position3D[1] + 2.5,
|
|
1518
|
+
player1Position3D[2]
|
|
1519
|
+
],
|
|
1520
|
+
center: true,
|
|
1521
|
+
"data-testid": "player1-movement-status",
|
|
1522
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1523
|
+
style: {
|
|
1524
|
+
fontSize: isMobile ? "12px" : "14px",
|
|
1525
|
+
color: player1MovementState.isSevereLimp ? toHexColor(KOREAN_COLORS.TEXT_ERROR) : toHexColor(KOREAN_COLORS.ACCENT_GOLD),
|
|
1526
|
+
fontFamily: FONT_FAMILY.KOREAN,
|
|
1527
|
+
fontWeight: "bold",
|
|
1528
|
+
textShadow: "0 0 4px rgba(0,0,0,0.8)",
|
|
1529
|
+
background: "rgba(0, 0, 0, 0.6)",
|
|
1530
|
+
padding: "4px 8px",
|
|
1531
|
+
borderRadius: "4px",
|
|
1532
|
+
whiteSpace: "nowrap"
|
|
1533
|
+
},
|
|
1534
|
+
children: [
|
|
1535
|
+
player1MovementState.statusText.korean,
|
|
1536
|
+
" |",
|
|
1537
|
+
" ",
|
|
1538
|
+
player1MovementState.statusText.english
|
|
1539
|
+
]
|
|
1540
|
+
})
|
|
1541
|
+
}),
|
|
1542
|
+
(player2MovementState.isLimping || player2MovementState.isSevereLimp) && /* @__PURE__ */ jsx(Html, {
|
|
1543
|
+
position: [
|
|
1544
|
+
player2Position3D[0],
|
|
1545
|
+
player2Position3D[1] + 2.5,
|
|
1546
|
+
player2Position3D[2]
|
|
1547
|
+
],
|
|
1548
|
+
center: true,
|
|
1549
|
+
"data-testid": "player2-movement-status",
|
|
1550
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1551
|
+
style: {
|
|
1552
|
+
fontSize: isMobile ? "12px" : "14px",
|
|
1553
|
+
color: player2MovementState.isSevereLimp ? toHexColor(KOREAN_COLORS.TEXT_ERROR) : toHexColor(KOREAN_COLORS.ACCENT_GOLD),
|
|
1554
|
+
fontFamily: FONT_FAMILY.KOREAN,
|
|
1555
|
+
fontWeight: "bold",
|
|
1556
|
+
textShadow: "0 0 4px rgba(0,0,0,0.8)",
|
|
1557
|
+
background: "rgba(0, 0, 0, 0.6)",
|
|
1558
|
+
padding: "4px 8px",
|
|
1559
|
+
borderRadius: "4px",
|
|
1560
|
+
whiteSpace: "nowrap"
|
|
1561
|
+
},
|
|
1562
|
+
children: [
|
|
1563
|
+
player2MovementState.statusText.korean,
|
|
1564
|
+
" |",
|
|
1565
|
+
" ",
|
|
1566
|
+
player2MovementState.statusText.english
|
|
1567
|
+
]
|
|
1568
|
+
})
|
|
1569
|
+
}),
|
|
1570
|
+
/* @__PURE__ */ jsx(TraumaOverlay3D, {
|
|
1571
|
+
playerId: "player",
|
|
1572
|
+
health: validPlayers[0].health,
|
|
1573
|
+
injuries: player1Injuries,
|
|
1574
|
+
characterPosition: player1Position3D,
|
|
1575
|
+
isMobile,
|
|
1576
|
+
showFractures: true
|
|
1577
|
+
}),
|
|
1578
|
+
/* @__PURE__ */ jsx(TraumaOverlay3D, {
|
|
1579
|
+
playerId: "enemy",
|
|
1580
|
+
health: validPlayers[1].health,
|
|
1581
|
+
injuries: player2Injuries,
|
|
1582
|
+
characterPosition: player2Position3D,
|
|
1583
|
+
isMobile,
|
|
1584
|
+
showFractures: true
|
|
1585
|
+
}),
|
|
1586
|
+
/* @__PURE__ */ jsx(HitEffects3D, {
|
|
1587
|
+
effects: combatState.hitEffects,
|
|
1588
|
+
onEffectComplete: handleEffectComplete,
|
|
1589
|
+
arenaBounds
|
|
1590
|
+
}),
|
|
1591
|
+
/* @__PURE__ */ jsx(CombatParticleEffects3D, {
|
|
1592
|
+
hitEffects: combatState.hitEffects,
|
|
1593
|
+
enabled: true,
|
|
1594
|
+
isMobile
|
|
1595
|
+
}),
|
|
1596
|
+
overlayVisible && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1597
|
+
/* @__PURE__ */ jsx(VitalPointMarkers3D, {
|
|
1598
|
+
position: player1Position3D,
|
|
1599
|
+
visible: overlayVisible,
|
|
1600
|
+
severityFilter: severityFilters,
|
|
1601
|
+
regionFilter,
|
|
1602
|
+
searchQuery,
|
|
1603
|
+
showLabels,
|
|
1604
|
+
scale,
|
|
1605
|
+
animated,
|
|
1606
|
+
onPointClick: () => {}
|
|
1607
|
+
}),
|
|
1608
|
+
/* @__PURE__ */ jsx(VitalPointMarkers3D, {
|
|
1609
|
+
position: player2Position3D,
|
|
1610
|
+
visible: overlayVisible,
|
|
1611
|
+
severityFilter: severityFilters,
|
|
1612
|
+
regionFilter,
|
|
1613
|
+
searchQuery,
|
|
1614
|
+
showLabels,
|
|
1615
|
+
scale,
|
|
1616
|
+
animated,
|
|
1617
|
+
onPointClick: () => {}
|
|
1618
|
+
}),
|
|
1619
|
+
/* @__PURE__ */ jsx(VitalPointOverlayControlsHtml, {
|
|
1620
|
+
screenPosition: {
|
|
1621
|
+
top: `${layoutConstants.hudHeight + layoutConstants.padding}px`,
|
|
1622
|
+
left: `${layoutConstants.padding}px`
|
|
1623
|
+
},
|
|
1624
|
+
visible: overlayVisible,
|
|
1625
|
+
onVisibleChange: setOverlayVisible,
|
|
1626
|
+
severityFilters,
|
|
1627
|
+
onSeverityFiltersChange: setSeverityFilters,
|
|
1628
|
+
regionFilter,
|
|
1629
|
+
onRegionFilterChange: setRegionFilter,
|
|
1630
|
+
searchQuery,
|
|
1631
|
+
onSearchQueryChange: setSearchQuery,
|
|
1632
|
+
showLabels,
|
|
1633
|
+
onShowLabelsChange: setShowLabels,
|
|
1634
|
+
animated,
|
|
1635
|
+
onAnimatedChange: setAnimated,
|
|
1636
|
+
scale,
|
|
1637
|
+
onScaleChange: setScale,
|
|
1638
|
+
isMobile
|
|
1639
|
+
})
|
|
1640
|
+
] }),
|
|
1641
|
+
/* @__PURE__ */ jsx(DamageNumbers, {
|
|
1642
|
+
damages: feedbackState.damageNumbers,
|
|
1643
|
+
isMobile,
|
|
1644
|
+
arenaBounds
|
|
1645
|
+
}),
|
|
1646
|
+
/* @__PURE__ */ jsx(ActionFeedback, {
|
|
1647
|
+
feedbacks: feedbackState.actionFeedbacks,
|
|
1648
|
+
isMobile,
|
|
1649
|
+
arenaBounds
|
|
1650
|
+
}),
|
|
1651
|
+
/* @__PURE__ */ jsx(ComboCounter, {
|
|
1652
|
+
combo: feedbackState.comboCount,
|
|
1653
|
+
isMobile
|
|
1654
|
+
}),
|
|
1655
|
+
feedbackState.currentTechnique && /* @__PURE__ */ jsx(TechniqueName, {
|
|
1656
|
+
korean: feedbackState.currentTechnique.korean,
|
|
1657
|
+
english: feedbackState.currentTechnique.english,
|
|
1658
|
+
isMobile,
|
|
1659
|
+
onComplete: () => feedbackActions.hideTechnique()
|
|
1660
|
+
}),
|
|
1661
|
+
false,
|
|
1662
|
+
/* @__PURE__ */ jsx(StanceChangeIndicator, {
|
|
1663
|
+
currentStance: currentStanceIndex,
|
|
1664
|
+
previousStance,
|
|
1665
|
+
isMobile
|
|
1666
|
+
}),
|
|
1667
|
+
/* @__PURE__ */ jsx(KeyboardHints, {
|
|
1668
|
+
visible: showHints,
|
|
1669
|
+
currentStance: currentStanceIndex,
|
|
1670
|
+
isMobile
|
|
1671
|
+
}),
|
|
1672
|
+
/* @__PURE__ */ jsx(InputBufferDisplay, {
|
|
1673
|
+
queuedInputs,
|
|
1674
|
+
isMobile
|
|
1675
|
+
}),
|
|
1676
|
+
validPlayers[0] && /* @__PURE__ */ jsx(BalanceIndicatorOverlayHtml, {
|
|
1677
|
+
player: validPlayers[0],
|
|
1678
|
+
currentTime,
|
|
1679
|
+
position: [
|
|
1680
|
+
-2.5,
|
|
1681
|
+
2.5,
|
|
1682
|
+
-1
|
|
1683
|
+
],
|
|
1684
|
+
isMobile
|
|
1685
|
+
}),
|
|
1686
|
+
validPlayers[1] && /* @__PURE__ */ jsx(BalanceIndicatorOverlayHtml, {
|
|
1687
|
+
player: validPlayers[1],
|
|
1688
|
+
currentTime,
|
|
1689
|
+
position: [
|
|
1690
|
+
2.5,
|
|
1691
|
+
2.5,
|
|
1692
|
+
-1
|
|
1693
|
+
],
|
|
1694
|
+
isMobile
|
|
1695
|
+
}),
|
|
1696
|
+
process.env.NODE_ENV === "development" && showPerformanceMonitor && /* @__PURE__ */ jsx(FPSMonitor, {
|
|
1697
|
+
enabled: true,
|
|
1698
|
+
warningThreshold: 50,
|
|
1699
|
+
criticalThreshold: 30
|
|
1700
|
+
})
|
|
1701
|
+
] }),
|
|
1702
|
+
isMobile ? /* @__PURE__ */ jsxs(EffectComposer, {
|
|
1703
|
+
multisampling: 0,
|
|
1704
|
+
children: [
|
|
1705
|
+
/* @__PURE__ */ jsx(Bloom, {
|
|
1706
|
+
luminanceThreshold: .9,
|
|
1707
|
+
luminanceSmoothing: .9,
|
|
1708
|
+
mipmapBlur: true,
|
|
1709
|
+
intensity: .8,
|
|
1710
|
+
radius: .4
|
|
1711
|
+
}),
|
|
1712
|
+
/* @__PURE__ */ jsx(Noise, { opacity: .03 }),
|
|
1713
|
+
/* @__PURE__ */ jsx(Vignette, {
|
|
1714
|
+
eskil: false,
|
|
1715
|
+
offset: .1,
|
|
1716
|
+
darkness: .3
|
|
1717
|
+
})
|
|
1718
|
+
]
|
|
1719
|
+
}) : /* @__PURE__ */ jsxs(EffectComposer, {
|
|
1720
|
+
multisampling: 4,
|
|
1721
|
+
children: [
|
|
1722
|
+
/* @__PURE__ */ jsx(Bloom, {
|
|
1723
|
+
luminanceThreshold: .9,
|
|
1724
|
+
luminanceSmoothing: .9,
|
|
1725
|
+
mipmapBlur: true,
|
|
1726
|
+
intensity: .8,
|
|
1727
|
+
radius: .4
|
|
1728
|
+
}),
|
|
1729
|
+
/* @__PURE__ */ jsx(Noise, { opacity: .03 }),
|
|
1730
|
+
/* @__PURE__ */ jsx(Vignette, {
|
|
1731
|
+
eskil: false,
|
|
1732
|
+
offset: .1,
|
|
1733
|
+
darkness: .3
|
|
1734
|
+
})
|
|
1735
|
+
]
|
|
1736
|
+
})
|
|
1737
|
+
]
|
|
1738
|
+
}),
|
|
1739
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1740
|
+
style: {
|
|
1741
|
+
position: "absolute",
|
|
1742
|
+
top: 0,
|
|
1743
|
+
left: 0,
|
|
1744
|
+
width: "100%",
|
|
1745
|
+
height: "100%",
|
|
1746
|
+
pointerEvents: "none",
|
|
1747
|
+
zIndex: Z_INDEX.HUD,
|
|
1748
|
+
overflow: "clip"
|
|
1749
|
+
},
|
|
1750
|
+
children: [
|
|
1751
|
+
/* @__PURE__ */ jsx(CombatTopHUD, {
|
|
1752
|
+
width,
|
|
1753
|
+
height,
|
|
1754
|
+
isMobile,
|
|
1755
|
+
positionScale,
|
|
1756
|
+
currentRound: internalRound,
|
|
1757
|
+
totalRounds: 3,
|
|
1758
|
+
timerState,
|
|
1759
|
+
showTimer: combatState.roundStarted && !combatState.roundEnded && matchCountdownComplete && !showRoundStart,
|
|
1760
|
+
onReturnToMenu,
|
|
1761
|
+
isPaused: isPaused || showPauseMenu
|
|
1762
|
+
}),
|
|
1763
|
+
/* @__PURE__ */ jsx(CombatLeftHUD, {
|
|
1764
|
+
width,
|
|
1765
|
+
height,
|
|
1766
|
+
isMobile,
|
|
1767
|
+
positionScale,
|
|
1768
|
+
player: validPlayers[0],
|
|
1769
|
+
laterality: combatState.playerLaterality[0],
|
|
1770
|
+
isInGuard: player1Animation.isInStanceGuard(),
|
|
1771
|
+
speedModifiers: player1SpeedModifiers
|
|
1772
|
+
}),
|
|
1773
|
+
/* @__PURE__ */ jsx(CombatRightHUD, {
|
|
1774
|
+
width,
|
|
1775
|
+
height,
|
|
1776
|
+
isMobile,
|
|
1777
|
+
positionScale,
|
|
1778
|
+
player: validPlayers[1],
|
|
1779
|
+
laterality: combatState.playerLaterality[1],
|
|
1780
|
+
speedModifiers: player2SpeedModifiers,
|
|
1781
|
+
difficultyTier: currentDifficultyTier
|
|
1782
|
+
}),
|
|
1783
|
+
/* @__PURE__ */ jsx(CombatBottomHUD, {
|
|
1784
|
+
width,
|
|
1785
|
+
height,
|
|
1786
|
+
isMobile,
|
|
1787
|
+
positionScale,
|
|
1788
|
+
visible: combatState.roundStarted && !combatState.roundEnded && matchCountdownComplete && !showRoundStart,
|
|
1789
|
+
techniques: techniqueSelection.availableTechniques,
|
|
1790
|
+
player: validPlayers[0],
|
|
1791
|
+
selectedIndex: techniqueSelection.selectedIndex,
|
|
1792
|
+
cooldowns: cooldownsMap,
|
|
1793
|
+
onTechniqueSelect: techniqueSelection.selectTechnique,
|
|
1794
|
+
combatMessages: combatState.combatMessages
|
|
1795
|
+
}),
|
|
1796
|
+
/* @__PURE__ */ jsx(PlayerStateOverlayHtml, {
|
|
1797
|
+
pain: validPlayers[0].pain,
|
|
1798
|
+
balanceState: getBalanceState(validPlayers[0].balance),
|
|
1799
|
+
position: "left",
|
|
1800
|
+
consciousness: validPlayers[0].consciousness,
|
|
1801
|
+
bloodLoss: 0,
|
|
1802
|
+
stamina: validPlayers[0].stamina,
|
|
1803
|
+
isMobile
|
|
1804
|
+
}),
|
|
1805
|
+
/* @__PURE__ */ jsx("div", {
|
|
1806
|
+
style: {
|
|
1807
|
+
position: "absolute",
|
|
1808
|
+
left: isMobile ? "10px" : "20px",
|
|
1809
|
+
top: isMobile ? "120px" : "160px",
|
|
1810
|
+
zIndex: Z_INDEX.HUD + 1,
|
|
1811
|
+
pointerEvents: "none"
|
|
1812
|
+
},
|
|
1813
|
+
"data-testid": "player1-breathing-indicator-container",
|
|
1814
|
+
children: /* @__PURE__ */ jsx(BreathingIndicator, {
|
|
1815
|
+
player: validPlayers[0],
|
|
1816
|
+
isMobile
|
|
1817
|
+
})
|
|
1818
|
+
}),
|
|
1819
|
+
/* @__PURE__ */ jsx("div", {
|
|
1820
|
+
style: {
|
|
1821
|
+
position: "absolute",
|
|
1822
|
+
right: isMobile ? "10px" : "20px",
|
|
1823
|
+
top: isMobile ? "120px" : "160px",
|
|
1824
|
+
zIndex: Z_INDEX.HUD + 1,
|
|
1825
|
+
pointerEvents: "none"
|
|
1826
|
+
},
|
|
1827
|
+
"data-testid": "player2-breathing-indicator-container",
|
|
1828
|
+
children: /* @__PURE__ */ jsx(BreathingIndicator, {
|
|
1829
|
+
player: validPlayers[1],
|
|
1830
|
+
isMobile
|
|
1831
|
+
})
|
|
1832
|
+
}),
|
|
1833
|
+
(isPaused || showPauseMenu) && /* @__PURE__ */ jsx(PauseMenu, {
|
|
1834
|
+
onResume: handleResume,
|
|
1835
|
+
onRestart: handleRestart,
|
|
1836
|
+
onReturnToMenu,
|
|
1837
|
+
isMobile
|
|
1838
|
+
})
|
|
1839
|
+
]
|
|
1840
|
+
}),
|
|
1841
|
+
showAnnouncement && roundWinner && /* @__PURE__ */ jsx(RoundAnnouncement, {
|
|
1842
|
+
roundNumber: transitionRoundNumber,
|
|
1843
|
+
roundWinner,
|
|
1844
|
+
currentScore: matchScore,
|
|
1845
|
+
roundStats: {
|
|
1846
|
+
damageDealt: roundWinner.totalDamageDealt ?? 0,
|
|
1847
|
+
hitsLanded: roundWinner.hitsLanded ?? 0,
|
|
1848
|
+
vitalPointsHit: roundWinner.vitalPointHits ?? 0,
|
|
1849
|
+
accuracy: calculateAccuracy(roundWinner)
|
|
1850
|
+
},
|
|
1851
|
+
onCountdownComplete: () => {
|
|
1852
|
+
if (matchScore.player1 >= 2 || matchScore.player2 >= 2) onGameEnd(matchScore.player1 >= 2 ? 0 : 1);
|
|
1853
|
+
else skipCountdown();
|
|
1854
|
+
},
|
|
1855
|
+
onSkip: () => {
|
|
1856
|
+
if (matchScore.player1 >= 2 || matchScore.player2 >= 2) onGameEnd(matchScore.player1 >= 2 ? 0 : 1);
|
|
1857
|
+
else skipCountdown();
|
|
1858
|
+
},
|
|
1859
|
+
isMobile,
|
|
1860
|
+
totalRounds: 3
|
|
1861
|
+
}),
|
|
1862
|
+
showMatchCountdown && !hasShownMatchCountdown && /* @__PURE__ */ jsx(MatchCountdown, {
|
|
1863
|
+
onComplete: () => {
|
|
1864
|
+
setHasShownMatchCountdown(true);
|
|
1865
|
+
setShowMatchCountdown(false);
|
|
1866
|
+
setMatchCountdownComplete(true);
|
|
1867
|
+
startRound();
|
|
1868
|
+
},
|
|
1869
|
+
isMobile,
|
|
1870
|
+
showSkip: false
|
|
1871
|
+
}),
|
|
1872
|
+
showRoundStart && /* @__PURE__ */ jsx(RoundStartAnnouncement, {
|
|
1873
|
+
roundNumber: internalRound,
|
|
1874
|
+
duration: 2,
|
|
1875
|
+
onComplete: () => {
|
|
1876
|
+
setShowRoundStart(false);
|
|
1877
|
+
startRound();
|
|
1878
|
+
},
|
|
1879
|
+
isMobile
|
|
1880
|
+
}),
|
|
1881
|
+
contentReady && combatState.roundDisplayStatus && /* @__PURE__ */ jsx(RoundDisplayStatus, {
|
|
1882
|
+
status: combatState.roundDisplayStatus,
|
|
1883
|
+
isMobile
|
|
1884
|
+
}),
|
|
1885
|
+
isMobile && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1886
|
+
/* @__PURE__ */ jsx(MobileControlsOverlay, {
|
|
1887
|
+
onMove: handleMobileMove,
|
|
1888
|
+
onAttack: handleMobileAttack,
|
|
1889
|
+
onBlock: handleMobileBlock
|
|
1890
|
+
}),
|
|
1891
|
+
/* @__PURE__ */ jsx(StanceWheelPure, {
|
|
1892
|
+
currentStance: currentStanceIndex,
|
|
1893
|
+
onStanceChange: handleMobileStanceChange,
|
|
1894
|
+
expanded: stanceWheelExpanded,
|
|
1895
|
+
onToggle: toggleStanceWheel,
|
|
1896
|
+
disabled: !mobileControlsEnabled,
|
|
1897
|
+
opacity: .8
|
|
1898
|
+
}),
|
|
1899
|
+
/* @__PURE__ */ jsx(GestureRecognizerPure, {
|
|
1900
|
+
onGesture: handleMobileGesture,
|
|
1901
|
+
enabled: mobileControlsEnabled,
|
|
1902
|
+
showFeedback: true,
|
|
1903
|
+
minSwipeDistance: 50
|
|
1904
|
+
})
|
|
1905
|
+
] })
|
|
1906
|
+
]
|
|
1907
|
+
});
|
|
1908
|
+
};
|
|
1909
|
+
//#endregion
|
|
1910
|
+
export { CombatScreen3D as default };
|
|
1911
|
+
|
|
1912
|
+
//# sourceMappingURL=CombatScreen3D.js.map
|