Health

io.github.pidoveproject.showdown.battle.Health
See theHealth companion object
case class Health(current: IronType[Int, GreaterEqual[0]], max: IronType[Int, GreaterEqual[0]])

The health information of a pokemon.

Value parameters

current

the current health of the pokemon

max

the maximum health of the pokemon

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product