Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.6.9
    Preparing search index...

    Module utils

    Utility functions and helpers for Black Trigram

    References

    animationStateToPlayerAnimation → animationStateToPlayerAnimation
    applyDamage → applyDamage
    applyEffectModifiers → applyEffectModifiers
    applyHtmlOverlayStyles → applyHtmlOverlayStyles
    applyStatusEffect → applyStatusEffect
    calculateCombatEffectiveness → calculateCombatEffectiveness
    calculateDistanceFactor → calculateDistanceFactor
    calculateEffectIntensity → calculateEffectIntensity
    calculateSafePosition → calculateSafePosition
    canPlayerAct → canPlayerAct
    clearPlatformCache → clearPlatformCache
    combineEffects → combineEffects
    convertPlayerStateToProps → convertPlayerStateToProps
    createEffectFromKoreanText → createEffectFromKoreanText
    createHitEffect → createHitEffect
    createHtmlOverlayConfig → createHtmlOverlayConfig
    createKoreanStatusEffect → createKoreanStatusEffect
    createPlayerFromArchetype → createPlayerFromArchetype
    createStatusEffect → createStatusEffect
    createTrigramEffect → createTrigramEffect
    darkenColor → darkenColor
    detectPlatform → detectPlatform
    DeviceType → DeviceType
    getArchetypeAssets → getArchetypeAssets
    getArchetypeBonuses → getArchetypeBonuses
    getArchetypeColors → getArchetypeColors
    getBalanceState → getBalanceState
    getColorRGB → getColorRGB
    getColorWithAlpha → getColorWithAlpha
    getContrastColor → getContrastColor
    getDefaultSafeArea → getDefaultSafeArea
    getEffectDescription → getEffectDescription
    getEffectDisplayText → getEffectDisplayText
    getEffectDurationModifier → getEffectDurationModifier
    getHealthColor → getHealthColor
    getHitEffectColor → getHitEffectColor
    getPlayerAnimation → getPlayerAnimation
    getSafeAreaInsets → getSafeAreaInsets
    getStanceEffectiveness → getStanceEffectiveness
    getVitalPointByOnPlayerId → getVitalPointByOnPlayerId
    getZIndexForLayer → getZIndexForLayer
    groupEffectsByType → groupEffectsByType
    groupEffectsByTypeEnum → groupEffectsByTypeEnum
    hasEnoughResources → hasEnoughResources
    hexColorToCSS → hexColorToCSS
    hexToRgb → hexToRgb
    hexToRgbaString → hexToRgbaString
    initializeBodyFacing → initializeBodyFacing
    interpolateColor → interpolateColor
    isEffectBeneficial → isEffectBeneficial
    isMobileDevice → isMobileDevice
    lightenColor → lightenColor
    measureTextBounds → measureTextBounds
    mixColors → mixColors
    MOBILE_BREAKPOINT → MOBILE_BREAKPOINT
    PlatformInfo → PlatformInfo
    removeExpiredEffects → removeExpiredEffects
    resetPlayerState → resetPlayerState
    rgbToHex → rgbToHex
    shouldUseMobileControls → shouldUseMobileControls
    TABLET_BREAKPOINT → TABLET_BREAKPOINT
    toHex → toHex
    toHexColor → toHexColor
    updateEffect → updateEffect
    updatePlayerState → updatePlayerState
    updateStatusEffects → updateStatusEffects