FourScen

ostrat.gFour.FourScen
See theFourScen companion object
abstract class FourScen(val turn: Int) extends HGridScen

Example Game four scenario trait.

Attributes

Companion:
object
Graph
Supertypes
trait HGridScen
trait HSysScen
class Object
trait Matchable
class Any
Known subtypes
object FourScen1.type
object FourScen2.type
object FourScen3.type

Members list

Concise view

Value members

Abstract methods

tile terrain.

tile terrain.

Attributes

Concrete methods

def endTurn(orderList: RArr[(Lunit, HDirnArr)]): FourScen

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

Attributes

Inherited methods

def defaultView(pxScale: Double): HGView

Attributes

Inherited from:
HSysScen

Concrete fields

val turn: Int

Implicits

Inherited implicits

implicit override def gridSys: HGrid

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

Definition Classes
Inherited from:
HGridScen