ThreeScenStart

Example Game three opening scenario trait.

trait ThreeScen
class Object
trait Matchable
class Any
object ThreeScen1.type
object ThreeScen2.type
object ThreeScen3.type

Value members

Concrete methods

override def turn: Int
Definition Classes

Inherited methods

def defaultView(pxScale: Double): HGridView
Inherited from:
HexGridScen
def endTurn(orderList: Arr[(Lunit, HSteps)]): ThreeScen

Resolves turn. Takes a list Arr of commands consisting in this simple case of (Player, HStep) pairs. The command is passed in as a relative move. This is in accordance with the principle in more complex games that the entity issuing the command may not know its real location.

Resolves turn. Takes a list Arr of commands consisting in this simple case of (Player, HStep) pairs. The command is passed in as a relative move. This is in accordance with the principle in more complex games that the entity issuing the command may not know its real location.

Inherited from:
ThreeScen

tile terrain.

tile terrain.

Inherited from:
ThreeScen
Inherited from:
ThreeScen

Implicits

Inherited implicits

implicit val grid: HGrid

This gives the structure of the hex 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 hex 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.

Inherited from:
HexGridScen