SideCondition

io.github.pidoveproject.showdown.battle.SideCondition
case class SideCondition(effects: Map[SideFieldEffect, Count])

The condition of a side.

Value parameters

effects

the effects bound to the represented side

Attributes

Source
SideCondition.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Clear all the effects of the represented side.

Clear all the effects of the represented side.

Attributes

Source
SideCondition.scala

Remove an effect to the the side.

Remove an effect to the the side.

Value parameters

effect

the effect to remove

Attributes

Returns

a copy of the side's condition without the given effect

Source
SideCondition.scala

Add an effect to the the side.

Add an effect to the the side.

Value parameters

effect

the effect to add

Attributes

Returns

a copy of the side's condition with the given effect

Source
SideCondition.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product