phaser - v4.0.0-rc.4
    Preparing search index...
    • Internal function used by the Tween Builder to create a function that will return the given value from the source.

      Parameters

      • source: any

        The source object to get the value from.

      • key: string

        The property to get from the source.

      • defaultValue: any

        A default value to return should the source not have the property set.

      Returns Function