ostrat.gOne

package ostrat.gOne

Type members

Classlikes

case
class GOneGui(canv: CanvasPlatform, scenStart: OneScen) extends HexMapGui

Graphical user interface for GOne example game.

Graphical user interface for GOne example game.

case
class HPlayer(value: Player, hc: HCen) extends HexMem[Player]

A class identifying a Player and a hex coordinate position.

A class identifying a Player and a hex coordinate position.

object OneLaunch extends GuiLaunchStd
trait OneScen extends HexGridScen

A scenario turn or state for Game One. Consists of just a turn number and a tile Grid. Each tile can contain a single player or can be empty.

A scenario turn or state for Game One. Consists of just a turn number and a tile Grid. Each tile can contain a single player or can be empty.

Companion
object
object OneScen

Companion object for OneScen trait, contains factory apply method.

Companion object for OneScen trait, contains factory apply method.

Companion
class
object OneScen1 extends OneScenStart

1st example Turn 0 scenario state for Game One.

1st example Turn 0 scenario state for Game One.

object OneScen2 extends OneScenStart

2nd example Turn 0 scenario state for Game One.

2nd example Turn 0 scenario state for Game One.

object OneScen3 extends OneScenStart

3rd example Turn 0 scenario state for Game One.

3rd example Turn 0 scenario state for Game One.

object OneScen4 extends OneScenStart
trait OneScenStart extends OneScen

This trait just puts the value 0 in for the turn.

This trait just puts the value 0 in for the turn.

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

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

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

Companion
object
object Player

Companion object for Player case class contains implicit instance for Persist.

Companion object for Player case class contains implicit instance for Persist.

Companion
class
object PlayerA extends Player
object PlayerB extends Player
object PlayerC extends Player
object PlayerD extends Player
case
class SPlayer(value: Player, sc: SqCen) extends SqMem[Player]

A class identifying a Player and a hex coordinate position.

A class identifying a Player and a hex coordinate position.

Value members

Concrete methods

def aboutStr: String

This is just a dummy method as empty package objects can cause problems.

This is just a dummy method as empty package objects can cause problems.