Draught

ostrat.pchess.pdraughts.Draught
sealed trait Draught extends TellSimple

Attributes

Graph
Supertypes
trait TellSimple
trait Tell
trait Persist
class Object
trait Matchable
class Any
Show all
Known subtypes
trait DarkDraught
object DarkKing
object DarkMan
trait King
object LightKing
trait LightDraught
object LightMan
trait Man
Show all

Members list

Value members

Abstract methods

def colour: Colour

Concrete methods

override def typeStr: String

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

Definition Classes

Inherited methods

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.

Attributes

Inherited from:
Tell
def str0: String

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Attributes

Inherited from:
Tell
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.

Attributes

Inherited from:
Tell
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.

Attributes

Inherited from:
Tell
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.

Attributes

Inherited from:
Tell
final override def tell(style: ShowStyle, decimalPlaces: Int, minPlaces: Int): String

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

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

Attributes

Definition Classes
Inherited from:
TellSimple
override def tellDepth: Int

The syntactic depth of the tell String for this object.

The syntactic depth of the tell String for this object.

Attributes

Definition Classes
Inherited from:
TellSimple
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Tell -> Any
Inherited from:
Tell

This property determines if the type can be used with Multiple syntax.

This property determines if the type can be used with Multiple syntax.

MyObj * 7

. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).

Attributes

Inherited from:
Persist