Condition

io.github.pidoveproject.showdown.battle.Condition
See theCondition companion class
object Condition

Attributes

Companion
class
Source
Condition.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Condition.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fromString(value: String): Either[ProtocolError, Condition]

Parse the pokemon condition from String.

Parse the pokemon condition from String.

Value parameters

value

the text to parse

Attributes

Returns

the read pokemon condition or a ProtocolError if it failed

Source
Condition.scala

Concrete fields

A healthy, full HP pokemon.

A healthy, full HP pokemon.

Attributes

Source
Condition.scala

Givens