phaser - v4.0.0-rc.4
    Preparing search index...

    Function MinSub

    • Subtract an amount from value, limiting the minimum result to min.

      Parameters

      • value: number

        The value to subtract from.

      • amount: number

        The amount to subtract.

      • min: number

        The minimum value to return.

      Returns number