PokéRogue
    Preparing search index...

    A priority queue of Pokemons

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    queue: Pokemon[] = []

    The items in the queue.

    Methods

    • Remove the first element in the queue matching a given condition.

      Parameters

      • condition: (t: Pokemon) => boolean

        If provided, will restrict the removal to only entries matching the given condition

      Returns boolean

      Whether a removal occurred