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

    Function MaxAdd

    • Add an amount to a value, limiting the maximum result to max.

      Parameters

      • value: number

        The value to add to.

      • amount: number

        The amount to add.

      • max: number

        The maximum value to return.

      Returns number