G2SScen2

ostrat.gTwo.s2p.G2SScen2
object G2SScen2 extends G2SqScenStart

Attributes

Graph
Supertypes
trait G2SqScen
trait SqGridScen
trait GridTurnScen
class Object
trait Matchable
class Any
Show all
Self type
G2SScen2.type

Members list

Value members

Inherited methods

Attributes

Inherited from:
G2SqScen
def defaultView(pxScale: Double): SGView

Attributes

Inherited from:
SqGridScen

Attributes

Inherited from:
G2SqScen
override def title: String

Attributes

Definition Classes
Inherited from:
G2SqScen

Concrete fields

An optional player can occupy each tile. This is the only tile data in the game.

An optional player can occupy each tile. This is the only tile data in the game.

Attributes

Inherited fields

override val 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:
G2SqScenStart

Implicits

Implicits

implicit val gridSys: SqGrid

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