Abstract class to implement arena traps.

Hierarchy (view full)

Constructors

  • Creates a new instance of the ArenaTrapTag class.

    Parameters

    • tagType: ArenaTagType

      The type of the arena tag.

    • sourceMove: Moves

      The move that created the tag.

    • sourceId: number

      The ID of the source of the tag.

    • side: ArenaTagSide

      The side (player or enemy) the tag affects.

    • maxLayers: number

      The maximum amount of layers this tag can have.

    Returns ArenaTrapTag

Properties

layers: number
maxLayers: number
sourceId: number
sourceMove: Moves
tagType: ArenaTagType
turnCount: number

Methods