PokemonDetails

io.github.pidoveproject.showdown.battle.PokemonDetails
See thePokemonDetails companion object
case class PokemonDetails(species: SpeciesName, shiny: Boolean, level: Option[Level], gender: Option[Gender], teraType: Option[Type])

The known permanent details of a pokemon.

Value parameters

gender

the gender of the pokemon

level

the level of the pokemon

shiny

whether the pokemon is shiny or not

species

the species of the pokemon

teraType

the tera type of the pokememon

Attributes

Companion
object
Source
PokemonDetails.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isCompatible(details: PokemonDetails): Boolean

Check if these details are compatible with the given ones.

Check if these details are compatible with the given ones.

Value parameters

details

the details to compare

Attributes

Returns

whether the given details might represent the same pokemon or not

Source
PokemonDetails.scala

Merge these details with others. Used when new details are discovered.

Merge these details with others. Used when new details are discovered.

Value parameters

details

the details update

Attributes

Returns

a copy of these details overridden with details

Source
PokemonDetails.scala
def ~=(details: PokemonDetails): Boolean

Alias for isCompatible

Alias for isCompatible

Attributes

Source
PokemonDetails.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product