learn.e1

package learn.e1

Members list

Concise view

Type members

Classlikes

case object CycleColour extends TurnCmd

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TurnCmd
class Object
trait Matchable
class Any
Self type
case class Game(curr: GameState, start: GameState, cmds: List[GameState])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Game

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Game.type
case class GameState(turnNum: Int, posn: Pt2, rainbowCycle: RainbowCycle)

GameState. The game world state between turns. This is an ultra simple single player turn game, with only two actions, move and change colour. It is not intended as interesting game, but merely to illustrate the common features of a functionally implemented game.

GameState. The game world state between turns. This is an ultra simple single player turn game, with only two actions, move and change colour. It is not intended as interesting game, but merely to illustrate the common features of a functionally implemented game.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object GameState

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class Move(toPosn: Pt2) extends TurnCmd

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TurnCmd
class Object
trait Matchable
class Any
case object NoMove extends TurnCmd

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait TurnCmd
class Object
trait Matchable
class Any
Self type
NoMove.type
sealed trait TurnCmd

A turned Command is a sealed trait

A turned Command is a sealed trait

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CycleColour.type
class Move
object NoMove.type