PokéRogue
    Preparing search index...

    A priority queue of Pokemons

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    queue: Pokemon[] = []

    Methods

    • Removes the first element matching the condition

      Parameters

      • condition: (t: Pokemon) => boolean = ...

        An optional condition function (defaults to a function that always returns true)

      Returns boolean

      Whether a removal occurred