@andreabiagini5/applicazioni-e-servizi-web-project - v1.1.3
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Returns a pile assigned to the give owner, with the given number of grains.

      Parameters

      • owner: string

        the owner of the pile

      • numberOfGrains: number

        the number of grains contained in the pile

      Returns Pile

      a pile assigned to the give owner, with the given number of grains