SqGridScen

ostrat.prid.psq.SqGridScen
trait SqGridScen extends GridTurnScen

Attributes

Graph
Supertypes
trait GridTurnScen
class Object
trait Matchable
class Any
Known subtypes
trait G1SScen
object G1SScen1
object G1SScen2
object G1SScen3
trait G2SqScen
object G2SScen1
object G2SScen2
object G2SScen3
trait DraughtsScen
object DraughtsStart
trait ChessScen
object ChessStart
Show all

Members list

Value members

Concrete methods

def defaultView(pxScale: Double): SGView

Inherited methods

def title: String

Attributes

Inherited from:
GridTurnScen
def turn: Int

The turn number. This will normally start at 0. The player will then give their instructions for turn 1. The scenario will take these orders / instructions and return the new game state at turn 1.

The turn number. This will normally start at 0. The player will then give their instructions for turn 1. The scenario will take these orders / instructions and return the new game state at turn 1.

Attributes

Inherited from:
GridTurnScen

Implicits

Implicits

implicit val gridSys: SqGridSys

This gives the structure of the square grid. It contains no data about the elements of the grid. But it allows the scenario to create and operate on flat arrays of data.

This gives the structure of the square grid. It contains no data about the elements of the grid. But it allows the scenario to create and operate on flat arrays of data.

Attributes