Player

case class Player(char: Char, colour: Colour) extends ShowDec

A Player has a very simple token with a letter and colour for recognition.

Companion:
object
trait Serializable
trait Product
trait Equals
trait ShowDec
trait Show
trait TypeStr
class Object
trait Matchable
class Any
object PlayerA.type
object PlayerB.type
object PlayerC.type
object PlayerD.type

Value members

Concrete methods

def charStr: String
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Definition Classes
override def str: String

The most basic Show method, paralleling the strT method on ShowT type class instances.

The most basic Show method, paralleling the strT method on ShowT type class instances.

Definition Classes
override def syntaxDepth: Int
Definition Classes
override def typeStr: String

the name of the type of this object.

the name of the type of this object.

Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowDec
def showDec(style: ShowStyle, maxPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Inherited from:
ShowDec
def str0: String

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Inherited from:
ShowDec
def str1: String

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Inherited from:
ShowDec
def str2: String

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Inherited from:
ShowDec
def str3: String

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Inherited from:
ShowDec
override def toString: String
Definition Classes
Show -> Any
Inherited from:
Show