OneScen9

ostrat.gOne.OneScen9$
object OneScen9 extends OneScen

9th example Turn 0 scenario state for Game One. An empty irregular grid containing no hex tiles.

Attributes

Graph
Supertypes
trait OneScen
trait HSysScen
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

override 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

Definition Classes

Inherited methods

def defaultView(pxScale: Double): HGView

Attributes

Inherited from:
HSysScen
def endTurn(orderList: RArr[(Player, HDirn)]): OneScen

Resolves turn. Takes a list RArr 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 RArr 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.

Attributes

Inherited from:
OneScen

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

Implicits

Implicits

implicit val gridSys: HGrid