OneScen

trait OneScen extends HexGridScen

A scenario turn or state for Game One. Consists of just a turn number and a tile Grid. Each tile can contain a single player or can be empty.

Companion
object
class Object
trait Matchable
class Any
object OneScen1
object OneScen2

Value members

Abstract methods

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.

Concrete methods

def endTurn(orderList: Arr[HexAndStep]): OneScen

Resolves turn. Takes a set of commands / orders, resolves them and returns the new game state scenario.

Resolves turn. Takes a set of commands / orders, resolves them and returns the new game state scenario.

Inherited methods

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.

Inherited from
GridTurnScen

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