ShowSingleton

trait ShowSingleton extends Show

All the leaves of this trait must be Singleton objects. They just need to implement the str method. This will normally be the name of the object, but sometimes, it may be a lengthened or shortened version of the singleton object name.

trait Show
class Object
trait Matchable
class Any
trait Polity
object Britain
object France
trait Polity
object Macedon
object Rome
object Turn
trait Faction
object Eridu
object Uruk
class Character
object CharacA
object CharacB
object CharacY
object CharacZ
trait DungTerr
object Open
object Wall
class Faction
object Fac1
object Fac2
trait Polity
object Britain
object France
object Germany
trait Polity
object Britain
object France
object Germany
trait ZugTerr
trait Building
object Hill
object Lake
object Plain
object WheatField

Value members

Abstract methods

def str: String

The string for the leaf object. This will normally be different from the typeStr in the instance of the PersistSingletons.

The string for the leaf object. This will normally be different from the typeStr in the instance of the PersistSingletons.

Concrete methods

final override
def show(way: Way, maxPlaces: Int, minPlaces: 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.

Definition Classes
override
def syntaxdepth: Int
Definition Classes

Inherited methods

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

the name of the type of this object.

the name of the type of this object.

Inherited from
Show