ostrat.prid.phex

Package for hex grids.

Attributes

Members list

Type members

Classlikes

class HCen(val r: Int, val c: Int) extends HCenOrSep, TCen

A Hex tile centre hex grid HGrid coordinate. This is the tile coordinate and is all that's needed for simple grids, but is usually referred to as an HCen to distinguish it from HSeps, HVerts and HCoordOthers In Function parameters, the convention is to place the HCens as the first parameter for example f: (HCen, Pt2) => B.

A Hex tile centre hex grid HGrid coordinate. This is the tile coordinate and is all that's needed for simple grids, but is usually referred to as an HCen to distinguish it from HSeps, HVerts and HCoordOthers In Function parameters, the convention is to place the HCens as the first parameter for example f: (HCen, Pt2) => B.

Attributes

Companion
object
Supertypes
trait TCen
trait HCenOrSep
trait TCenOrSep
trait HNotVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all
object HCen

Companion object of HCen trait, contains HVert values for hex tile 0, 0. As well as apply method and Show implicit.

Companion object of HCen trait, contains HVert values for hex tile 0, 0. As well as apply method and Show implicit.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCen.type
class HCenAccLayer(val originsBuffer: Array[ArrayBuffer[Int]], gSysIn: HGridSys)

This is a helper class for turn / segment resolution. It accumulates all actions along with the origin of the action, upon a hex tile.

This is a helper class for turn / segment resolution. It accumulates all actions along with the origin of the action, upon a hex tile.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object HCenAccLayer

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenAccPairLayer[A](val originsBuffer: Array[ArrayBuffer[Int]], val actionsBuffer: Array[ArrayBuffer[A]], gSysIn: HGridSys)(implicit val ct: ClassTag[A])

This is a helper class for turn / segment resolution. It accumulates all actions along with the origin of the action, upon a hex tile.

This is a helper class for turn / segment resolution. It accumulates all actions along with the origin of the action, upon a hex tile.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class HCenArr(val arrayUnsafe: Array[Int]) extends AnyVal, ArrInt2[HCen]

An efficient array[Int] based collection for HCens hex grid centre coordinates.

An efficient array[Int] based collection for HCens hex grid centre coordinates.

Attributes

Companion
object
Supertypes
trait ArrInt2[HCen]
trait SeqLikeInt2[HCen]
trait ArrIntN[HCen]
trait SeqLikeIntN[HCen]
trait ArrValueN[HCen]
trait ArrNoParam[HCen]
trait Arr[HCen]
trait Sequ[HCen]
trait SeqLike[HCen]
class AnyVal
trait Matchable
class Any
Show all

Companion object for HCenArr trait efficient array[Int] based collection for HCens hex grid centre coordinates, contains factory apply and uninitialised methods..

Companion object for HCenArr trait efficient array[Int] based collection for HCens hex grid centre coordinates, contains factory apply and uninitialised methods..

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCenArr.type
trait HCenArrLayer[A, ArrA <: Arr[A]]

A data layer for an HGridSys where each tile's data is an Arr of the specified type.

A data layer for an HGridSys where each tile's data is an Arr of the specified type.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class HCenIntNArrLayer[A, ArrA]
class LayerHcRArr[A]

Companion object for HCenArrLayer trait contains implicit builder instances.

Companion object for HCenArrLayer trait contains implicit builder instances.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait HCenArrLayerBuilder[B, ArrB <: Arr[B], LayerB <: HCenArrLayer[B, ArrB]]

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HCenArrLayer
final class HCenBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal, BuffInt2[HCen]

Efficient buffer, mutable sequence without fixed length for HCens.

Efficient buffer, mutable sequence without fixed length for HCens.

Attributes

Companion
object
Supertypes
trait BuffInt2[HCen]
trait BuffIntN[HCen]
trait BuffValueN[HCen]
trait BuffSequ[HCen]
trait Sequ[HCen]
trait SeqLike[HCen]
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCenBuff.type
class HCenBuffLayer[A <: AnyRef](val unsafeArr: Array[ArrayBuffer[A]])

A HGridSys HCen layer of data buffers. An HCen hex tile centre grid of ArrayBuffers corresponding to the centres of an HGridSys hex tile grid system.

A HGridSys HCen layer of data buffers. An HCen hex tile centre grid of ArrayBuffers corresponding to the centres of an HGridSys hex tile grid system.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object HCenBuffLayer

Companion object for the hex (centres) grid Array of ArrayBuffer classes.

Companion object for the hex (centres) grid Array of ArrayBuffer classes.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenIntNArrLayer[A <: IntNElem, ArrA <: ArrIntN[A]](val outerArrayUnsafe: Array[Array[Int]], val gridSys: HGridSys)(implicit val arrBuilder: BuilderArrIntNMap[A, ArrA]) extends HCenArrLayer[A, ArrA]

Attributes

Supertypes
trait HCenArrLayer[A, ArrA]
class Object
trait Matchable
class Any
class HCenOptStepLayer(val arrayInt: Array[Int])(implicit val gridSys: HGridSys)

Optional HStep data layer for Hex grid systems.

Optional HStep data layer for Hex grid systems.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenOptStepLikeLayer(val arrayInt: Array[Int])(implicit val gridSys: HGridSys)

Optional HStepLike data layer for Hex grid systems.

Optional HStepLike data layer for Hex grid systems.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenOptStepLikePairLayer[A](val arrayInt: Array[Int], val arrayA: Array[A])(implicit val ct: ClassTag[A], val gridSys: HGridSys)

Optional HStepLike pair data layer for Hex grid systems.

Optional HStepLike pair data layer for Hex grid systems.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Companion object for HCenOptStepLikePairLayer class, an Optional HStepLike pair data layer for Hex grid systems. Contains factory apply methods.

Companion object for HCenOptStepLikePairLayer class, an Optional HStepLike pair data layer for Hex grid systems. Contains factory apply methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenOptStepPairLayer[A](val arrayInt: Array[Int], val arrayA: Array[A])(implicit val ct: ClassTag[A], val gridSys: HGridSys)

Optional HStep pair data layer for Hex grid systems.

Optional HStep pair data layer for Hex grid systems.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Companion object for HCenOptStepLikePairLayer class, an Optional HStepLike pair data layer for Hex grid systems. Contains factory apply methods.

Companion object for HCenOptStepLikePairLayer class, an Optional HStepLike pair data layer for Hex grid systems. Contains factory apply methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait HCenOrSep extends HNotVert, TCenOrSep

Common trait for HCen hex centre and HSep hex side coordinate. The position of these coordinates is proportional, unlike the Hex vertices positions.

Common trait for HCen hex centre and HSep hex side coordinate. The position of these coordinates is proportional, unlike the Hex vertices positions.

Attributes

Companion
object
Supertypes
trait TCenOrSep
trait HNotVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all
Known subtypes
class HCen
trait HSep
class HSepA
class HSepB
class HSepC
object HCenOrSep

Companion object for HCenOrSep trait, contains factory apply method and implicit Persist instance.

Companion object for HCenOrSep trait, contains factory apply method and implicit Persist instance.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
HCenOrSep.type
class HCenPair[A2](val a1Int1: Int, val a1Int2: Int, val a2: A2) extends PairInt2Elem[HCen, A2], Selectable

PairElem class for HCens. Allows for the efficient storage of sequences in HCenPairArrs.

PairElem class for HCens. Allows for the efficient storage of sequences in HCenPairArrs.

Attributes

Companion
object
Supertypes
trait Selectable
trait PairInt2Elem[HCen, A2]
trait PairIntNElem[HCen, A2]
trait PairFinalA1Elem[HCen, A2]
trait PairElem[HCen, A2]
class Object
trait Matchable
class Any
Show all
object HCenPair

Companion object for HCenPair trait, provides apply and unapply methods.

Companion object for HCenPair trait, provides apply and unapply methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCenPair.type
class HCenPairArr[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends ArrPairInt2[HCen, HCenArr, A2, HCenPair[A2]]

Attributes

Supertypes
trait ArrPairInt2[HCen, HCenArr, A2, HCenPair[A2]]
trait ArrPairIntN[HCen, HCenArr, A2, HCenPair[A2]]
trait PairArrFinalA1[HCen, HCenArr, A2, HCenPair[A2]]
trait ArrPair[HCen, HCenArr, A2, HCenPair[A2]]
trait Arr[HCenPair[A2]]
trait Sequ[HCenPair[A2]]
trait SeqLike[HCenPair[A2]]
class Object
trait Matchable
class Any
Show all
object HCenPairArr1

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class HCenPairArrMapBuilder[B2](implicit ct: ClassTag[B2]) extends BuilderArrPairInt2Map[HCen, HCenArr, B2, HCenPair[B2], HCenPairArr[B2]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
class HCenPairBuff[B2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[B2]) extends BuffPairInt2[HCen, B2, HCenPair[B2]]

Attributes

Supertypes
trait BuffPairInt2[HCen, B2, HCenPair[B2]]
trait BuffPairIntN[HCen, B2, HCenPair[B2]]
trait BuffPair[HCen, B2, HCenPair[B2]]
trait BuffSequ[HCenPair[B2]]
trait Sequ[HCenPair[B2]]
trait SeqLike[HCenPair[B2]]
class Object
trait Matchable
class Any
Show all
final class HCenRow(val r: Int, val cStart: Int, val cEnd: Int) extends HexStruct, TellInt3, Int3Elem, SpecialT

A hex tile row. Has a row number, a row starting coordinate number and the number of tiles.

A hex tile row. Has a row number, a row starting coordinate number and the number of tiles.

Attributes

Companion
object
Supertypes
trait Int3Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt3
trait Tell3[Int, Int, Int]
trait Tell3Plused[Int, Int, Int]
trait Persist3Plus[Int, Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait HexStruct
trait TCenStruct
class Object
trait Matchable
class Any
Show all
object HCenRow

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCenRow.type
final class HCenRowArr(val arrayUnsafe: Array[Int]) extends AnyVal, ArrInt3[HCenRow]

Attributes

Supertypes
trait ArrInt3[HCenRow]
trait ArrIntN[HCenRow]
trait Arr[HCenRow]
trait Sequ[HCenRow]
trait SeqLike[HCenRow]
class AnyVal
trait Matchable
class Any
Show all
class HCenRowBuff(val unsafeBuffer: ArrayBuffer[Int]) extends BuffInt3[HCenRow]

Attributes

Supertypes
trait BuffInt3[HCenRow]
trait BuffIntN[HCenRow]
trait BuffSequ[HCenRow]
trait Sequ[HCenRow]
trait SeqLike[HCenRow]
class Object
trait Matchable
class Any
Show all
class HCenRowLayer[A <: AnyRef](val r: Int, val unsafeArray: Array[A])(implicit val show2: Show[A]) extends Tell2Repeat[Int, A]

Attributes

Companion
object
Supertypes
trait Tell2Repeat[Int, A]
trait Tell
trait Persist
class Object
trait Matchable
class Any
Show all
object HCenRowLayer

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenRowPair[A] extends PairElem[HCenRow, A]

Attributes

Companion
object
Supertypes
trait PairElem[HCenRow, A]
class Object
trait Matchable
class Any
object HCenRowPair

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStep(val r1: Int, val c1: Int, val stepInt: Int) extends Int3Elem

A hex grid step representing the starting HCen of the step as well as the HStep singleton object itself.

A hex grid step representing the starting HCen of the step as well as the HStep singleton object itself.

Attributes

Companion
object
Supertypes
trait Int3Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
object HCenStep

Companion object for HCenStep. Contains apply factory methods and ArrBuilder type class instance.

Companion object for HCenStep. Contains apply factory methods and ArrBuilder type class instance.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCenStep.type
class HCenStepArr(val arrayUnsafe: Array[Int]) extends ArrInt3[HCenStep]

Attributes

Companion
object
Supertypes
trait ArrInt3[HCenStep]
trait ArrIntN[HCenStep]
trait Arr[HCenStep]
trait Sequ[HCenStep]
trait SeqLike[HCenStep]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStepBuff(val unsafeBuffer: ArrayBuffer[Int]) extends BuffInt3[HCenStep]

Attributes

Companion
object
Supertypes
trait Sequ[HCenStep]
trait SeqLike[HCenStep]
class Object
trait Matchable
class Any
Show all
object HCenStepBuff

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStepPair[A2](val a1Int1: Int, val a1Int2: Int, val a1Int3: Int, val a2: A2) extends PairInt3Elem[HCenStep, A2]

A pair where a1 is an HCenStep hex grid step representing the starting HCen of the step as well as the HStep singleton object itself.

A pair where a1 is an HCenStep hex grid step representing the starting HCen of the step as well as the HStep singleton object itself.

Attributes

Supertypes
trait PairInt3Elem[HCenStep, A2]
trait PairIntNElem[HCenStep, A2]
trait PairElem[HCenStep, A2]
class Object
trait Matchable
class Any
Show all
class HCenStepPairArr[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends ArrPairInt3[HCenStep, HCenStepArr, A2, HCenStepPair[A2]]

Attributes

Companion
object
Supertypes
trait Arr[HCenStepPair[A2]]
trait Sequ[HCenStepPair[A2]]
trait SeqLike[HCenStepPair[A2]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HCenStepPairBuff[A2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[A2]) extends BuffPairInt3[HCenStep, A2, HCenStepPair[A2]]

Attributes

Supertypes
trait BuffPair[HCenStep, A2, HCenStepPair[A2]]
trait BuffSequ[HCenStepPair[A2]]
trait Sequ[HCenStepPair[A2]]
trait SeqLike[HCenStepPair[A2]]
class Object
trait Matchable
class Any
Show all
trait HCoord extends TCoord, Ordered[HCoord]

A coordinate with in a Hex grid. It may be a Hex tile centre HCen, a HexSide HSep or Hex tile vertice HVert.

A coordinate with in a Hex grid. It may be a Hex tile centre HCen, a HexSide HSep or Hex tile vertice HVert.

Attributes

Companion
object
Supertypes
trait Ordered[HCoord]
trait Comparable[HCoord]
class Object
trait Matchable
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Any
Show all
Known subtypes
trait HNotVert
trait HCenOrSep
class HCen
trait HSep
class HSepA
class HSepB
class HSepC
class HCoordOther
trait HVert
class HVertHigh
class HVertLow
Show all
object HCoord

Companion object for Hex coordinate trait, contains apply factory method and persist and PolygonBuilder implicit instances.

Companion object for Hex coordinate trait, contains apply factory method and persist and PolygonBuilder implicit instances.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
HCoord.type
final class HCoordArr(val arrayUnsafe: Array[Int]) extends AnyVal, ArrInt2[HCoord], HCoordSeqLike

Specialised sequence class for HCoord.

Specialised sequence class for HCoord.

Attributes

Supertypes
trait ArrInt2[HCoord]
trait ArrIntN[HCoord]
trait ArrValueN[HCoord]
trait Arr[HCoord]
trait Sequ[HCoord]
trait SeqLike[HCoord]
class AnyVal
trait Matchable
class Any
Show all
final class HCoordBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal, BuffInt2[HCoord]

Specialised sequence buffer class for HCoord.

Specialised sequence buffer class for HCoord.

Attributes

Companion
object
Supertypes
trait BuffInt2[HCoord]
trait BuffIntN[HCoord]
trait BuffSequ[HCoord]
trait Sequ[HCoord]
trait SeqLike[HCoord]
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCoordBuff.type
class HCoordOther(val r: Int, val c: Int) extends HNotVert

The only purpose of this class is to ensure that all HCoord combinations of r and c are valid. Thisis for the combinations where r is even and c is odd.

The only purpose of this class is to ensure that all HCoord combinations of r and c are valid. Thisis for the combinations where r is even and c is odd.

Attributes

Supertypes
trait HNotVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait SeqLike[HCoord]
class Any
Show all
Known subtypes
class HCoordArr
class LinePathHC
class PolygonHC

Attributes

Supertypes
trait SeqSpec[HCoord]
trait SeqLike[HCoord]
class Any
Show all
Known subtypes
class LinePathHC
class PolygonHC
final class HCorner(val unsafeInt: Int) extends AnyVal

Hex tile corner. A corner encodes 1 or 2 HVOffsetDeltas. An HVert is shared between 3 hex tiles and 3 HSeps. An HCorner only applies to a single hex tile. Hence unless it is on the edge of the HGridSys there will be 3 HCorners associated with each HVert. This class encodes a single or two HVertoffsets.

Hex tile corner. A corner encodes 1 or 2 HVOffsetDeltas. An HVert is shared between 3 hex tiles and 3 HSeps. An HCorner only applies to a single hex tile. Hence unless it is on the edge of the HGridSys there will be 3 HCorners associated with each HVert. This class encodes a single or two HVertoffsets.

Attributes

Companion
object
Supertypes
class AnyVal
trait Matchable
class Any
object HCorner

Companion object for HCorner, contains factory apply methods for creating no offset, single and double HVoffsets.

Companion object for HCorner, contains factory apply methods for creating no offset, single and double HVoffsets.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HCorner.type
final class HCornerLayer(val unsafeArray: Array[Int])

HGridSys data layer class that allows the hex tile vertices to be shifted by a small amount to create more pleasing terrain and to feature islands, straits and other tile side features. Every HCen hex tile in the HGridSys has 6 vertex entries.

HGridSys data layer class that allows the hex tile vertices to be shifted by a small amount to create more pleasing terrain and to feature islands, straits and other tile side features. Every HCen hex tile in the HGridSys has 6 vertex entries.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object HCornerLayer

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HDirnPathPair[A2](val a1ArrayInt: Array[Int], val a2: A2) extends ArrayIntBackedPair[HStepPath, A2]

An PairFinalA1Elem where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

An PairFinalA1Elem where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion
object
Supertypes
trait PairElem[HStepPath, A2]
class Object
trait Matchable
class Any
Show all
object HDirnPathPair

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HGView(val r: Int, val c: Int, val pixelsPerC: Double) extends Tell2[HCoord, Double]

A view of a hex grid, currently representing the HCoord focus and the pixels per delta Cs scale.

A view of a hex grid, currently representing the HCoord focus and the pixels per delta Cs scale.

Attributes

Companion
object
Supertypes
trait Tell2[HCoord, Double]
trait PersistN
trait TellN
trait Tell
trait Persist
class Object
trait Matchable
class Any
Show all
object HGView

Companion object for HGView class. Contains factory apply method overloads and implicit Persist instance.

Companion object for HGView class. Contains factory apply method overloads and implicit Persist instance.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HGView.type
trait HGrid extends TGrid, HGridSys, Tell

A grid of hexs. The grid may be a regular rectangle of hexs or an irregular grid with variable length rows.

A grid of hexs. The grid may be a regular rectangle of hexs or an irregular grid with variable length rows.

Attributes

Companion
object
Supertypes
trait Tell
trait Persist
trait HGridSys
trait HexStruct
trait TGrid
trait TGridSys
trait TCenStruct
class Object
trait Matchable
class Any
Show all
Known subtypes
object HGrid

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
HGrid.type
class HGridGen(val bottomCenR: Int, val unsafeRowsArray: Array[Int]) extends HGrid, TellSeqLike[HCenRow]

HGrid implementation class for the general case where the rows have different lengths and irregular start row coordinates. This is backed by an Array[Int]. The length of this Array is twice the number of tile rows in the grid. Each row from lowest to highest has two values length of the row in the number of tile centres HCens and the cTileMin coordinate for the row.

HGrid implementation class for the general case where the rows have different lengths and irregular start row coordinates. This is backed by an Array[Int]. The length of this Array is twice the number of tile rows in the grid. Each row from lowest to highest has two values length of the row in the number of tile centres HCens and the cTileMin coordinate for the row.

Value parameters

bottomCenR

The r value for the bottom tile row of the TileGrid.

tileRowsStartEnd

the Array contains 2 values per Tile Row, the cStart Tile and the cEnd Tile

Attributes

Constructor

creates a new HexGridIrr with a defined grid.

Companion
object
Supertypes
trait HGrid
trait Tell
trait Persist
trait HGridSys
trait HexStruct
trait TGrid
trait TGridSys
trait TCenStruct
class Object
trait Matchable
class Any
Show all
Known subtypes
object HGridGen

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HGridGen.type
trait HGridMulti extends TGridMulti

Attributes

Supertypes
trait TGridMulti
trait TGridSys
trait TCenStruct
class Object
trait Matchable
class Any
Show all
Known subtypes
class HGridRect(val bottomCenR: Int, val topCenR: Int, val gridLeftCenC: Int, val gridRightCenC: Int) extends HGrid, TellInt4

A Rectangular hex grid where the tile rows have the same length, except the tile rows where r %% 4 == 2 may differ in length by 1 from tile rows where r %% 4 == 0 rows.

A Rectangular hex grid where the tile rows have the same length, except the tile rows where r %% 4 == 2 may differ in length by 1 from tile rows where r %% 4 == 0 rows.

Attributes

Companion
object
Supertypes
trait TellInt4
trait Tell4[Int, Int, Int, Int]
trait Persist4[Int, Int, Int, Int]
trait Tell4Plused[Int, Int, Int, Int]
trait Persist4Plus[Int, Int, Int, Int]
trait Tell3Plused[Int, Int, Int]
trait Persist3Plus[Int, Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait HGrid
trait Tell
trait Persist
trait HGridSys
trait HexStruct
trait TGrid
trait TGridSys
trait TCenStruct
class Object
trait Matchable
class Any
Show all
object HGridRect

Companion object for the HGridRect class. Contains factory apply method and Show instance.

Companion object for the HGridRect class. Contains factory apply method and Show instance.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HGridRect.type
trait HGridScen extends HSysScen

Attributes

Supertypes
trait HSysScen
class Object
trait Matchable
class Any
Known subtypes
class G4HScen
object FourScen1
object FourScen2
object FourScen3
object FourScen4
trait HGridSys extends HexStruct, TGridSys

System of hex tile grids. Can be a single HGrid or a system of multiple hex tile grids.

System of hex tile grids. Can be a single HGrid or a system of multiple hex tile grids.

Attributes

Supertypes
trait TGridSys
trait HexStruct
trait TCenStruct
class Object
trait Matchable
class Any
Show all
Known subtypes
abstract class HGridSysGui(val title: String) extends CmdBarGui

Graphical User Interface for HGridSys hex grid systems.

Graphical User Interface for HGridSys hex grid systems.

Attributes

Supertypes
trait CmdBarGui
trait CanvasUser
class Object
trait Matchable
class Any
Show all
Known subtypes
class EGridBaseGui
class DLessGui
class BC305Gui
class DiscovGui
class PeriGui
class IndRevGui
class SorsGui
class WW1Gui
class WW2Gui
class G4HGui
class G1HGui
class G3HGui
class G2HGui
class CivGui
class NormGui
class ZugGui
Show all
case class HNode(tile: HCen, var gCost: Int, var hCost: Int, var parent: Option[HNode])

Hex grid path finding node.

Hex grid path finding node.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait HNotVert extends HCoord

Attributes

Supertypes
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HCenOrSep
class HCen
trait HSep
class HSepA
class HSepB
class HSepC
class HCoordOther
Show all
trait HSep extends HCenOrSep, TSep

A Hex separator coordinate in a Hex Grid. So HSepA on its primary Hex tile goes from Vert 6 to 1 while it is Side 4 on its secondary Hex tile and goes from Vertex 4 to vertex 3 So HSepB on its primary Hex tile goes from Vert 1 to 2 while it is Side 5 on its secondary Hex tile and goes from Vertex 5 to vertex 4 So HSepC on its primary Hex tile goes from Vert 2 to 3 while it is Side 4 on its secondary Hex tile and goes from Vertex 6 to vertex 4

A Hex separator coordinate in a Hex Grid. So HSepA on its primary Hex tile goes from Vert 6 to 1 while it is Side 4 on its secondary Hex tile and goes from Vertex 4 to vertex 3 So HSepB on its primary Hex tile goes from Vert 1 to 2 while it is Side 5 on its secondary Hex tile and goes from Vertex 5 to vertex 4 So HSepC on its primary Hex tile goes from Vert 2 to 3 while it is Side 4 on its secondary Hex tile and goes from Vertex 6 to vertex 4

Attributes

Companion
object
Supertypes
trait TSep
trait HCenOrSep
trait TCenOrSep
trait HNotVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all
Known subtypes
class HSepA
class HSepB
class HSepC
object HSep

Companion object for the HSep class, provides an apply factory method that throws an exception for an invalid Hex side coordinate.

Companion object for the HSep class, provides an apply factory method that throws an exception for an invalid Hex side coordinate.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
HSep.type
class HSepA(val r: Int, val c: Int) extends HSep

A hex tiles separator that slants down from left to right. r.div4Rem1 & c.div4Rem1 | r.div4Rem3 & c.div4Rem3

A hex tiles separator that slants down from left to right. r.div4Rem1 & c.div4Rem1 | r.div4Rem3 & c.div4Rem3

Attributes

Companion
object
Supertypes
trait HSep
trait TSep
trait HCenOrSep
trait TCenOrSep
trait HNotVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all
object HSepA

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HSepA.type
final class HSepArr(val arrayUnsafe: Array[Int]) extends AnyVal, ArrInt2[HSep]

An efficient array[Int] based collection for HSeps hex grid centre coordinates.

An efficient array[Int] based collection for HSeps hex grid centre coordinates.

Attributes

Companion
object
Supertypes
trait ArrInt2[HSep]
trait SeqLikeInt2[HSep]
trait ArrIntN[HSep]
trait SeqLikeIntN[HSep]
trait ArrValueN[HSep]
trait ArrNoParam[HSep]
trait Arr[HSep]
trait Sequ[HSep]
trait SeqLike[HSep]
class AnyVal
trait Matchable
class Any
Show all

Companion object for HSepArr trait efficient array[Int] based collection for HSeps hex grid centre coordinates, contains factory apply and uninitialised methods.

Companion object for HSepArr trait efficient array[Int] based collection for HSeps hex grid centre coordinates, contains factory apply and uninitialised methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HSepArr.type
class HSepArrPair[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends ArrPairInt2[HSep, HSepArr, A2, HSepPair[A2]]

ArrPair class for HSeps.

ArrPair class for HSeps.

Attributes

Supertypes
trait ArrPairInt2[HSep, HSepArr, A2, HSepPair[A2]]
trait ArrPairIntN[HSep, HSepArr, A2, HSepPair[A2]]
trait PairArrFinalA1[HSep, HSepArr, A2, HSepPair[A2]]
trait ArrPair[HSep, HSepArr, A2, HSepPair[A2]]
trait Arr[HSepPair[A2]]
trait Sequ[HSepPair[A2]]
trait SeqLike[HSepPair[A2]]
class Object
trait Matchable
class Any
Show all
class HSepB(val r: Int, val c: Int) extends HSep

A hex tiles separator that slants straight down. r.div4Rem0 & c.div4Rem2 | r.div4Rem2 & c.div4Rem0

A hex tiles separator that slants straight down. r.div4Rem0 & c.div4Rem2 | r.div4Rem2 & c.div4Rem0

Attributes

Companion
object
Supertypes
trait HSep
trait TSep
trait HCenOrSep
trait TCenOrSep
trait HNotVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all
object HSepB

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HSepB.type
final class HSepBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal, BuffInt2[HSep]

Efficient buffer class for HSeps.

Efficient buffer class for HSeps.

Attributes

Companion
object
Supertypes
trait BuffInt2[HSep]
trait BuffIntN[HSep]
trait BuffValueN[HSep]
trait BuffSequ[HSep]
trait Sequ[HSep]
trait SeqLike[HSep]
class AnyVal
trait Matchable
class Any
Show all
object HSepBuff

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HSepBuff.type
class HSepBuffPair[B2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[B2]) extends BuffPairInt2[HSep, B2, HSepPair[B2]]

Efficient BuffPair buffer class for HSepPairs

Efficient BuffPair buffer class for HSepPairs

Attributes

Supertypes
trait BuffPairInt2[HSep, B2, HSepPair[B2]]
trait BuffPairIntN[HSep, B2, HSepPair[B2]]
trait BuffPair[HSep, B2, HSepPair[B2]]
trait BuffSequ[HSepPair[B2]]
trait Sequ[HSepPair[B2]]
trait SeqLike[HSepPair[B2]]
class Object
trait Matchable
class Any
Show all
class HSepBuilderArrPairMap[B2](implicit ct: ClassTag[B2]) extends BuilderArrPairInt2Map[HSep, HSepArr, B2, HSepPair[B2], HSepArrPair[B2]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
class HSepC(val r: Int, val c: Int) extends HSep

A hex tiles separator that slants down from top right to bottom left. r.div4Rem1 & c.div4Rem3 | r.div4Rem3 & c.div4Rem1

A hex tiles separator that slants down from top right to bottom left. r.div4Rem1 & c.div4Rem3 | r.div4Rem3 & c.div4Rem1

Attributes

Companion
object
Supertypes
trait HSep
trait TSep
trait HCenOrSep
trait TCenOrSep
trait HNotVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
trait TCoord
trait TellElemInt2
trait Int2Elem
trait IntNElem
trait ValueNElem
trait SpecialT
trait TellInt2
trait Tell2[Int, Int]
trait Persist2[Int, Int]
trait Tell2Plused[Int, Int]
trait Persist2Plus[Int, Int]
trait Persist1Plus[Int]
trait PersistN
trait TellN
trait Tell
trait Persist
trait Point
class Object
trait Matchable
class Any
Show all
object HSepC

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HSepC.type
class HSepLayer[A](val unsafeArray: Array[A]) extends HSepLayerAny[A]

Data layer for HSeps of an HGridSys.

Data layer for HSeps of an HGridSys.

Attributes

Companion
object
Supertypes
trait HSepLayerAny[A]
class Object
trait Matchable
class Any
object HSepLayer

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HSepLayer.type
trait HSepLayerAny[A]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class HSepLayer[A]
class LayerHSOptSys[A, SA]
trait HSepNone extends HSepOpt

Attributes

Supertypes
trait HSepOpt
class Object
trait Matchable
class Any
Known subtypes
object VSepNone
trait HSepOpt

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HSepNone
object VSepNone
trait HSepSome
trait WSepSome
object Scarp
trait Water
object Lake
object Sea
object SeaIcePerm
object SeaIceWinter
trait VSepSome
object River
trait Water
object Lake
object Sea
Show all
class HSepPair[A2](val a1Int1: Int, val a1Int2: Int, val a2: A2) extends PairInt2Elem[HSep, A2], Selectable

PairElem class for HSeps. Allows for the efficient storage of sequences in HSepArrPairs.

PairElem class for HSeps. Allows for the efficient storage of sequences in HSepArrPairs.

Attributes

Companion
object
Supertypes
trait Selectable
trait PairInt2Elem[HSep, A2]
trait PairIntNElem[HSep, A2]
trait PairFinalA1Elem[HSep, A2]
trait PairElem[HSep, A2]
class Object
trait Matchable
class Any
Show all
object HSepPair

Companion object for HSepPair trait, provides apply and unapply methods.

Companion object for HSepPair trait, provides apply and unapply methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HSepPair.type
object HSepPairArr1

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait HSepSome extends HSepOpt

This trait is purely to tag an object as a something.

This trait is purely to tag an object as a something.

Attributes

Supertypes
trait HSepOpt
class Object
trait Matchable
class Any
Known subtypes
trait WSepSome
object Scarp
trait Water
object Lake
object Sea
object SeaIcePerm
object SeaIceWinter
trait VSepSome
object River
trait Water
object Lake
object Sea
Show all
trait HSetter[TT <: AnyRef, ST, SST <: ST & HSepSome]

Helper trait for setting an LayerHcRefSys, HSepLayer and a HCornerLayer at the same time. This allows the basic geometry of the terrain to be laid out in systematic row order.

Helper trait for setting an LayerHcRefSys, HSepLayer and a HCornerLayer at the same time. This allows the basic geometry of the terrain to be laid out in systematic row order.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class WTerrSetter
class VTerrSetter
final class HSideBoolLayer(val unsafeArray: Array[Boolean]) extends AnyVal, BoolSeqSpec

Boolean data corresponding to the sides of a HGridSys hex grid system , stored using an underlying Array[Boolean]. Thhese classes should be created, initalised and used using an [HGrid]] class. For convenience the HGrid is passed as an implicit parameter.

Boolean data corresponding to the sides of a HGridSys hex grid system , stored using an underlying Array[Boolean]. Thhese classes should be created, initalised and used using an [HGrid]] class. For convenience the HGrid is passed as an implicit parameter.

Attributes

Companion
object
Supertypes
trait BoolSeqSpec
trait SeqSpec[Boolean]
trait BoolSeqLike
trait SeqLike[Boolean]
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait HStep extends TStepSided, HStepLike

A step on a hex tile grid HGrid can take 6 values: upright right, downright, downleft, left and upleft. These should not be confused with HVDirnOpts which fo from an HVert to an HCen.

A step on a hex tile grid HGrid can take 6 values: upright right, downright, downleft, left and upleft. These should not be confused with HVDirnOpts which fo from an HVert to an HCen.

Attributes

Companion
object
Supertypes
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
object HexDL
object HexDR
object HexLt
object HexRt
object HexUL
object HexUR
Show all
object HStep

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HStep.type
final class HStepArr(val arrayUnsafe: Array[Int]) extends AnyVal, ArrInt1[HStep]

An Arr of hex step directions.

An Arr of hex step directions.

Attributes

Companion
object
Supertypes
trait ArrInt1[HStep]
trait ArrIntN[HStep]
trait ArrValueN[HStep]
trait ArrNoParam[HStep]
trait Arr[HStep]
trait Sequ[HStep]
trait SeqLike[HStep]
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HStepArr.type
class HStepArrArr(val unsafeArrayOfArrays: Array[Array[Int]]) extends ArrayIntBackedArr[HStepArr]

Attributes

Supertypes
trait Arr[HStepArr]
trait Sequ[HStepArr]
trait SeqLike[HStepArr]
class Object
trait Matchable
class Any
Show all
class HStepArrPair[A2](val a1ArrayInt: Array[Int], val a2: A2) extends ArrayIntBackedPair[HStepArr, A2]

Attributes

Supertypes
trait PairElem[HStepArr, A2]
class Object
trait Matchable
class Any
Show all
class HStepArrPairArr[A2](val a1ArrayArrayInts: Array[Array[Int]], val a2Array: Array[A2]) extends ArrayIntBackedPairArr[HStepArr, HStepArrArr, A2, HStepArrPair[A2]]

Attributes

Supertypes
trait Arr[HStepArrPair[A2]]
trait Sequ[HStepArrPair[A2]]
trait SeqLike[HStepArrPair[A2]]
class Object
trait Matchable
class Any
Show all
final class HStepBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal, BuffInt1[HStep]

ArrayBuffer based buffer class for Colours.

ArrayBuffer based buffer class for Colours.

Attributes

Companion
object
Supertypes
trait BuffInt1[HStep]
trait BuffIntN[HStep]
trait BuffValueN[HStep]
trait BuffSequ[HStep]
trait Sequ[HStep]
trait SeqLike[HStep]
class AnyVal
trait Matchable
class Any
Show all
object HStepBuff

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HStepBuff.type
class HStepCen(val stepInt: Int, val r2: Int, val c2: Int) extends Int3Elem

Hex centre origin and hex step.

Hex centre origin and hex step.

Attributes

Companion
object
Supertypes
trait Int3Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
object HStepCen

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HStepCen.type
class HStepCenArr(val arrayUnsafe: Array[Int]) extends ArrInt3[HStepCen]

Attributes

Companion
object
Supertypes
trait ArrInt3[HStepCen]
trait ArrIntN[HStepCen]
trait Arr[HStepCen]
trait Sequ[HStepCen]
trait SeqLike[HStepCen]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HStepCenBuff(val unsafeBuffer: ArrayBuffer[Int]) extends BuffInt3[HStepCen]

Attributes

Supertypes
trait Sequ[HStepCen]
trait SeqLike[HStepCen]
class Object
trait Matchable
class Any
Show all
sealed trait HStepLike extends TStepLike

Common trait for HStep and HStepStay.

Common trait for HStep and HStepStay.

Attributes

Companion
object
Supertypes
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
trait HStep
object HexDL
object HexDR
object HexLt
object HexRt
object HexUL
object HexUR
object HStepStay
Show all
object HStepLike

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HStepLike.type
final class HStepLikeArr(val arrayUnsafe: Array[Int]) extends AnyVal, ArrInt1[HStepLike]

An Arr of hex step directions.

An Arr of hex step directions.

Attributes

Companion
object
Supertypes
trait Arr[HStepLike]
trait Sequ[HStepLike]
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class HStepLikeBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal, BuffInt1[HStepLike]

ArrayBuffer based buffer class for HStepLikes.

ArrayBuffer based buffer class for HStepLikes.

Attributes

Companion
object
Supertypes
trait Sequ[HStepLike]
class AnyVal
trait Matchable
class Any
Show all
object HStepLikeBuff

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HStepPair[A2](val a1Int1: Int, val a2: A2) extends PairInt1Elem[HStep, A2]

A PairElem where A1 is an HStep.

A PairElem where A1 is an HStep.

Attributes

Supertypes
trait PairInt1Elem[HStep, A2]
trait PairIntNElem[HStep, A2]
trait PairFinalA1Elem[HStep, A2]
trait PairElem[HStep, A2]
class Object
trait Matchable
class Any
Show all
class HStepPairArr[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends ArrPairInt1[HStep, HStepArr, A2, HStepPair[A2]]

A specialised Arr class for HStepPairs.

A specialised Arr class for HStepPairs.

Attributes

Supertypes
trait ArrPairInt1[HStep, HStepArr, A2, HStepPair[A2]]
trait ArrPairIntN[HStep, HStepArr, A2, HStepPair[A2]]
trait ArrPair[HStep, HStepArr, A2, HStepPair[A2]]
trait Arr[HStepPair[A2]]
trait Sequ[HStepPair[A2]]
trait SeqLike[HStepPair[A2]]
class Object
trait Matchable
class Any
Show all
object HStepPairArr1

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class HStepPairArrMapBuilder[B2](implicit val b2ClassTag: ClassTag[B2]) extends BuilderArrPairIn1Map[HStep, HStepArr, B2, HStepPair[B2], HStepPairArr[B2]]

Attributes

Supertypes
class HStepPairBuff[A2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[A2]) extends BuffPairInt1[HStep, A2, HStepPair[A2]]

A BuffSequ class for HStepPairs.

A BuffSequ class for HStepPairs.

Attributes

Supertypes
trait BuffPairInt1[HStep, A2, HStepPair[A2]]
trait BuffPairIntN[HStep, A2, HStepPair[A2]]
trait BuffPair[HStep, A2, HStepPair[A2]]
trait BuffSequ[HStepPair[A2]]
trait Sequ[HStepPair[A2]]
trait SeqLike[HStepPair[A2]]
class Object
trait Matchable
class Any
Show all
class HStepPath(val arrayUnsafe: Array[Int]) extends ArrayIntBacked

A path consisting of a starting HCen and a sequence of HSteps.

A path consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object HStepPath

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HStepPath.type
class HStepPathArr(val unsafeArrayOfArrays: Array[Array[Int]]) extends ArrayIntBackedArr[HStepPath]

An Arr of paths consisting of a starting HCen and a sequence of HSteps.

An Arr of paths consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion
object
Supertypes
trait Arr[HStepPath]
trait Sequ[HStepPath]
class Object
trait Matchable
class Any
Show all
object HStepPathArr

Companion object for HStepPathArr contains factory apply method.

Companion object for HStepPathArr contains factory apply method.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class HStepPathPairArr[A2](val a1ArrayArrayInts: Array[Array[Int]], val a2Array: Array[A2]) extends ArrayIntBackedPairArr[HStepPath, HStepPathArr, A2, HDirnPathPair[A2]]

A PairArrFinalA1 where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

A PairArrFinalA1 where the first element is an HStepPath, a path consisting of a starting HCen and a sequence of HSteps.

Attributes

Companion
object
Supertypes
trait Arr[HDirnPathPair[A2]]
trait Sequ[HDirnPathPair[A2]]
trait SeqLike[HDirnPathPair[A2]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case object HStepStay extends HStepLike

The no step value of HStepLike

The no step value of HStepLike

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStepLike
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HStepStay.type

Hex grid system graphics projection.

Hex grid system graphics projection.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class HSysProjectionFlat(parent: HGridSys, panel: Panel) extends HSysProjection, TSysProjectionFlat

Projects HGridSys on to a flat surface for 2D graphics. Like all projections attempts to remove tiles that can't be seen.

Projects HGridSys on to a flat surface for 2D graphics. Like all projections attempts to remove tiles that can't be seen.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait HSysScen

Scenario based on a HGrid system.

Scenario based on a HGrid system.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait EScenBasic
class EScenWarmImp
object Scen120Africa
object Scen120Europe
object Scen13Africa
object Scen13All
object Scen13Europe
object Scen13India
object Scen160Africa
object Scen160Europe
object Scen220Africa
object Scen220Europe
object Scen320Africa
object Scen320All
object Scen320Europe
object Scen320India
object Scen460Africa
object Scen460All
object Scen460Europe
object Scen460India
object Scen640Africa
object Scen640All
object Scen640Europe
object Scen640India
object Scen80Europe
object ScenMegaAll
object ScenMegaIndia
trait DiscovScen
object DiscovScen1
object DiscovScen2
trait IndRevScen
object IndRevScen1
object IndRevScen2
class G3HScen
object G3HScen1
object G3HScen2
object G3HScen3
object G3HScen4
trait PeriScenBase
trait PeriScen
object PeriScen4
object PeriScen1
object PeriScen2
object PeriScen3
trait HGridScen
class G4HScen
object FourScen1
object FourScen2
object FourScen3
object FourScen4
trait HSysTurnScen
trait DLessScen
object DLessScen1
object DLessScen2
trait G1HScen
object G1HScen1
object G1HScen10
object G1HScen2
object G1HScen3
object G1HScen4
object G1HScen7
object G1HScen8
object G1HScen9
trait G2HScen
object G2HScen1
object G2HScen2
object G2HScen3
object G2HScen4
trait BCScen
object BCScen1
object BCScen2
trait CivScen
trait CivScenStart
object Civ1
object Civ2
trait SorsScen
object SorsScen1
trait WW1Scen
object WW1Scen1
object WW1Scen2
trait WW2Scen
object WW2Scen1
object WW2Scen2
trait ZugScen
trait ZugScenStart
object Zug1
object Zug2
object Zug3
Show all

Attributes

Supertypes
trait GridTurnScen
trait HSysScen
class Object
trait Matchable
class Any
Known subtypes
trait DLessScen
object DLessScen1
object DLessScen2
trait G1HScen
object G1HScen1
object G1HScen10
object G1HScen2
object G1HScen3
object G1HScen4
object G1HScen7
object G1HScen8
object G1HScen9
trait G2HScen
object G2HScen1
object G2HScen2
object G2HScen3
object G2HScen4
trait BCScen
object BCScen1
object BCScen2
trait CivScen
trait CivScenStart
object Civ1
object Civ2
trait DiscovScen
object DiscovScen1
object DiscovScen2
trait IndRevScen
object IndRevScen1
object IndRevScen2
trait SorsScen
object SorsScen1
trait WW1Scen
object WW1Scen1
object WW1Scen2
trait WW2Scen
object WW2Scen1
object WW2Scen2
trait ZugScen
trait ZugScenStart
object Zug1
object Zug2
object Zug3
Show all
class HTilePolygon(val arrayUnsafe: Array[Int]) extends SeqSpecInt2[HCen]

A polygon made up of 1 or more hex tiles, defined by the HCens of its outer ring of hex tiles.

A polygon made up of 1 or more hex tiles, defined by the HCens of its outer ring of hex tiles.

Attributes

Supertypes
trait SeqSpecInt2[HCen]
trait SeqSpecIntN[HCen]
trait SeqSpec[HCen]
trait SeqLikeInt2[HCen]
trait SeqLikeIntN[HCen]
trait SeqLike[HCen]
class Object
trait Matchable
class Any
Show all
case object HVDL extends HVDirnPrimary

Down left offset to HVert hex tile vertex.

Down left offset to HVert hex tile vertex.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HVDL.type
case object HVDR extends HVDirnPrimary

Down right offset to HVert hex tile vertex.

Down right offset to HVert hex tile vertex.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HVDirn
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HVDR.type
sealed trait HVDirn extends HVDirnOpt

Attributes

Companion
object
Supertypes
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Known subtypes
object HVDL
object HVDR
object HVDn
object HVUL
object HVUR
object HVUp
object HVLt
object HVRt
Show all
object HVDirn

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HVDirn.type
class HVDirnArr(val arrayUnsafe: Array[Int]) extends ArrInt1[HVDirnOpt]

Attributes

Companion
object
Supertypes
trait Arr[HVDirnOpt]
trait Sequ[HVDirnOpt]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes