Player

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

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

Companion:
object
trait Serializable
trait Product
trait Equals
trait ShowNoDec
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

override def show(style: ShowStyle): String

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

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowT 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

Inherited from:
Product
override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from:
ShowNoDec
def showDec(style: ShowStyle, maxPlaces: Int): String

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

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

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