Swap

io.github.pidoveproject.showdown.protocol.server.BattleMajorActionMessage.Swap
final case class Swap(pokemon: ActiveId, slot: PokemonSlot)

Change the position of a pokemon.

Value parameters

pokemon

the pokemon to swap

slot

the slot to put the pokemon in

Attributes

Source
BattleMajorActionMessage.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product