ActivePosition

io.github.pidoveproject.showdown.battle.ActivePosition
See theActivePosition companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self 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
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

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

Parse a position from a String.

Parse a position from a String.

Value parameters

value

the text to parse

Attributes

Returns

the parsed position or a ProtocolError if it failed.

Create a pokemon position in singles.

Create a pokemon position in singles.

Value parameters

player

the side of the pokemon

Attributes

Returns

a position representing the first slot of the given side

Extensions

Extensions

extension (context: StringContext)
def pos(args: Any*): ActivePosition

Interpolator to create a position.

Interpolator to create a position.

Attributes