OneScenStart

trait OneScenStart extends OneScen

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

trait OneScen
class Object
trait Matchable
class Any
object OneScen1.type
object OneScen2.type
object OneScen3.type
object OneScen4.type

Value members

Inherited methods

def defaultView(pxScale: Double): HGridView
Inherited from:
HexGridScen
def endTurn(orderList: Arr[(Player, HStep)]): OneScen

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 issueing 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 issueing the command may not know its real location.

Inherited from:
OneScen

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.

Inherited from:
OneScen

Concrete fields

override val turn: Int

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