Effect

io.github.pidoveproject.showdown.battle.Effect
See theEffect companion enum
object Effect

Attributes

Companion
enum
Source
Effect.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Effect.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, Effect]

Parse an effect from the given String.

Parse an effect from the given String.

Value parameters

value

the text to parse

Attributes

Returns

the read effect or a ProtocolError if it failed

Source
Effect.scala

Givens