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
class Object
trait Matchable
class Any
Self type
HVDirnArr.type
sealed trait HVDirnOpt extends Int1Elem

HVert direction of offset towards HCen. These objects should not be confused with HSteps. Stored as a 4 bit number between 0 and 15 although only values 0 to 8 currently used.

HVert direction of offset towards HCen. These objects should not be confused with HSteps. Stored as a 4 bit number between 0 and 15 although only values 0 to 8 currently used.

Attributes

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

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HVDirnOpt.type
sealed trait HVDirnPrimary extends HVDirn

Attributes

Supertypes
trait HVDirn
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
Show all
case object HVDn extends HVDirnPrimary

Down offset to HVert hex tile vertex.

Down 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
HVDn.type
object HVExact extends HVDirnOpt

An offset of 0 / none to HVert hex tile vertex.

An offset of 0 / none to HVert hex tile vertex.

Attributes

Supertypes
trait HVDirnOpt
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HVExact.type
case object HVLt extends HVDirn

Down offset to HVert hex tile vertex.

Down 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
HVLt.type
final class HVOffsetDelta(val int1: Int) extends AnyVal, Int1Elem

The offset of a point relative an HVert. The offset is specified by the HVDirn direction to another HVert and the magnitude of that offset speified in 1 sixteenth fractions. An HCorner consists of 1 or 2 of these HVOffsetDelta. The HCorner values are stored in an HCornerLayer. The value of the HVert can be determined by its position in HCornerLayer.

The offset of a point relative an HVert. The offset is specified by the HVDirn direction to another HVert and the magnitude of that offset speified in 1 sixteenth fractions. An HCorner consists of 1 or 2 of these HVOffsetDelta. The HCorner values are stored in an HCornerLayer. The value of the HVert can be determined by its position in HCornerLayer.

Attributes

Companion
object
Supertypes
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class AnyVal
trait Matchable
class Any
Show all
object HVOffsetDelta

Companion object for HVOffsetDelta class, contains factory apply and fromInt methods.

Companion object for HVOffsetDelta class, contains factory apply and fromInt methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case object HVRt extends HVDirn

Down offset to HVert hex tile vertex.

Down 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
HVRt.type
case object HVUL extends HVDirnPrimary

Up left offset to HVert hex tile vertex.

Up 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
HVUL.type
case object HVUR extends HVDirnPrimary

Up Right offset to HVert hex tile vertex.

Up 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
HVUR.type
case object HVUp extends HVDirnPrimary

Up offset to HVert hex tile vertex.

Up 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
HVUp.type
sealed trait HVert extends HCoord, TCoord

A hex tile vertex coordinate.

A hex tile vertex coordinate.

Attributes

Companion
object
Supertypes
trait HCoord
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
class HVertHigh
class HVertLow
object HVert

Attributes

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

An array[Int] based collection for HVert.

An array[Int] based collection for HVert.

Attributes

Companion
object
Supertypes
trait ArrInt2[HVert]
trait ArrIntN[HVert]
trait ArrValueN[HVert]
trait ArrNoParam[HVert]
trait Arr[HVert]
trait Sequ[HVert]
trait HVertSeqLike
trait SeqLike[HVert]
class AnyVal
trait Matchable
class Any
Show all

Attributes

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

Attributes

Supertypes
trait BuffInt2[HVert]
trait BuffIntN[HVert]
trait BuffValueN[HVert]
trait BuffSequ[HVert]
trait Sequ[HVert]
trait SeqLike[HVert]
class AnyVal
trait Matchable
class Any
Show all
final class HVertHigh(val bLong: Long) extends AnyVal, HVert

An HVert hex vert where (r.div4Rem1 & c.div4Rem0) | (r.div4Rem3 & c.div4Rem2).

An HVert hex vert where (r.div4Rem1 & c.div4Rem0) | (r.div4Rem3 & c.div4Rem2).

Attributes

Companion
object
Supertypes
trait HVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
class Object
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 AnyVal
trait Matchable
class Any
Show all
object HVertHigh

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HVertHigh.type
final class HVertLow(val bLong: Long) extends AnyVal, HVert

An HVert hex vert where (r.div4Rem1 & c.div4Rem0) | (r.div4Rem3 & c.div4Rem2).

An HVert hex vert where (r.div4Rem1 & c.div4Rem0) | (r.div4Rem3 & c.div4Rem2).

Attributes

Companion
object
Supertypes
trait HVert
trait HCoord
trait Ordered[HCoord]
trait Comparable[HCoord]
class Object
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 AnyVal
trait Matchable
class Any
Show all
object HVertLow

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HVertLow.type
trait HVertSeqLike extends SeqLikeInt2[HVert]

Common trait for Hverts and PolygonHC

Common trait for Hverts and PolygonHC

Attributes

Supertypes
trait SeqLike[HVert]
class Any
Show all
Known subtypes
class HVertArr
trait HcIndent6 extends HcIndentN

Hex tile indented on 6 of its sides, representing an island and its surrounding waters or similarly geometrically structured terrain where the main land area of the tile is surrounded by water on all 6 sides.

Hex tile indented on 6 of its sides, representing an island and its surrounding waters or similarly geometrically structured terrain where the main land area of the tile is surrounded by water on all 6 sides.

Attributes

Supertypes
trait HcIndentN
class Object
trait Matchable
class Any
Known subtypes
class Island
trait HcIndentN

Hex tile indented on a number of its vertices, representing an island or a headland and its surrounding waters or similarly geometrically structured terrain where the main land area of the tile is surrounded by water on a number of tiles.

Hex tile indented on a number of its vertices, representing an island or a headland and its surrounding waters or similarly geometrically structured terrain where the main land area of the tile is surrounded by water on a number of tiles.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HcIndent6
class Island
case object HexDL extends HStep

A step downleft on a hex tile grid HGrid.

A step downleft on a hex tile grid HGrid.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HexDL.type
case object HexDR extends HStep

A step downright on a hex tile grid HGrid.

A step downright on a hex tile grid HGrid.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HexDR.type
case object HexLt extends HStep

A step left on a hex tile grid HGrid.

A step left on a hex tile grid HGrid.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HexLt.type
trait HexMem[A]

Not sure about this trait for occupants of a hex tile.

Not sure about this trait for occupants of a hex tile.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class HexMemImp[A]
trait HexMemShow[A]
class HCounter
class HSquad
object HexMem

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
HexMem.type
trait HexMemShow[A] extends HexMem[A], Tell2[HCen, A]

Attributes

Supertypes
trait Tell2[HCen, A]
trait Persist2[HCen, A]
trait Tell2Plused[HCen, A]
trait Persist2Plus[HCen, A]
trait PersistN
trait TellN
trait Tell
trait Persist
trait HexMem[A]
class Object
trait Matchable
class Any
Show all
Known subtypes
class HCounter
class HSquad
case object HexRt extends HStep

A step right on a hex tile grid HGrid.

A step right on a hex tile grid HGrid.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HexRt.type
case object HexUL extends HStep

A step upleft on a hex tile grid HGrid.

A step upleft on a hex tile grid HGrid.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HexUL.type
case object HexUR extends HStep

A step upright on a hex tile grid HGrid.

A step upright on a hex tile grid HGrid.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait HStep
trait HStepLike
trait TStepSided
trait TStepLike
trait Int1Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
Self type
HexUR.type
class HvOffset(val int1: Int, val int2: Int, val int3: Int) extends Int3Elem

A point in HCoord space offset from an HVert towards a neighbouring HCen or HVert, defined in Ints.

A point in HCoord space offset from an HVert towards a neighbouring HCen or HVert, defined in Ints.

Attributes

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

Companion object for HvOffset class contains factory apply and none methods. End users should rarely need to use the class constructor directly.

Companion object for HvOffset class contains factory apply and none methods. End users should rarely need to use the class constructor directly.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
HvOffset.type
class HvOffsetArr(val arrayUnsafe: Array[Int]) extends HvOffsetSeqLike, ArrInt3[HvOffset]

Attributes

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

Attributes

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

Specialised BuffSequ class for HvOffsets. The HVert with offset class.

Specialised BuffSequ class for HvOffsets. The HVert with offset class.

Attributes

Supertypes
trait Sequ[HvOffset]
trait SeqLike[HvOffset]
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait SeqLike[HvOffset]
class Any
Show all
Known subtypes
class LayerHSOptSys[A, SA <: HSepSome](val unsafeArray: Array[A]) extends HSepLayerAny[A]

Data layer for HSeps of an HGridSys where there is are HSepSome and HSepNone types.

Data layer for HSeps of an HGridSys where there is are HSepSome and HSepNone types.

Attributes

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

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait LayerHcOpt[A <: AnyRef] extends LayerTcOpt[A]

Attributes

Supertypes
trait LayerTcOpt[A]
class Any
Known subtypes
class LayerHcOptGrid[A]
class LayerHcOptRow[A]
class LayerHcOptSys[A]
class LayerHcOptGrid[A <: AnyRef](val grid: HGrid, val arrayUnsafe: Array[A])(implicit ct: ClassTag[A]) extends LayerHcOpt[A]

HCen layer for a hex row.

HCen layer for a hex row.

Attributes

Companion
object
Supertypes
trait LayerHcOpt[A]
trait LayerTcOpt[A]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class LayerHcOptRow[A <: AnyRef](val row: Int, val arrayUnsafe: Array[A]) extends LayerHcOpt[A]

HCen layer for a hex row.

HCen layer for a hex row.

Attributes

Companion
object
Supertypes
trait LayerHcOpt[A]
trait LayerTcOpt[A]
class Object
trait Matchable
class Any
object LayerHcOptRow

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class LayerHcOptSys[A <: AnyRef](val arrayUnsafe: Array[A]) extends AnyVal, LayerHcOpt[A], LayerHcSys[Option[A]]

A HGridSys data layer of optional tile data. This is specialised for OptRef[A]. The tileGrid can map the HCen coordinate of the tile to the index of the Arr. Hence most methods take an implicit HGridSys hex grid parameter.

A HGridSys data layer of optional tile data. This is specialised for OptRef[A]. The tileGrid can map the HCen coordinate of the tile to the index of the Arr. Hence most methods take an implicit HGridSys hex grid parameter.

Attributes

Companion
object
Supertypes
trait LayerHcSys[Option[A]]
trait LayerHcOpt[A]
trait LayerTcOpt[A]
class AnyVal
trait Matchable
class Any
Show all
object LayerHcOptSys

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class LayerHcRArr[A](val outerArrayUnsafe: Array[Array[A]], val gridSys: HGridSys)(implicit ct: ClassTag[A]) extends HCenArrLayer[A, RArr[A]]

A HGridSys HCen data layer of RArrs.

A HGridSys HCen data layer of RArrs.

Attributes

Companion
object
Supertypes
trait HCenArrLayer[A, RArr[A]]
class Object
trait Matchable
class Any
object LayerHcRArr

Companion object for the LayerHcRArr class, contains factory apply methods that take the HGridSys implicitly or explicitly.

Companion object for the LayerHcRArr class, contains factory apply methods that take the HGridSys implicitly or explicitly.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait LayerHcRef[A <: AnyRef] extends LayerTcRef[A]

Reference data layer for HCen hex tile structure.

Reference data layer for HCen hex tile structure.

Attributes

Supertypes
trait LayerTcRef[A]
class Any
Known subtypes
class LayerHcRefRow[A]
trait LayerHcRefSys[A]
class LayerHcRefGrid[A]
class LayerHcRefMulti[A]
final class LayerHcRefGrid[A <: AnyRef](val arrayUnsafe: Array[A]) extends AnyVal, LayerHcRefSys[A]

Attributes

Companion
object
Supertypes
trait LayerHcRefSys[A]
trait LayerHcRef[A]
trait LayerTcRef[A]
class AnyVal
trait Matchable
class Any
Show all

Companion object for LayerHcRefGrid, contains factory apply methods.

Companion object for LayerHcRefGrid, contains factory apply methods.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class LayerHcRefMulti[A <: AnyRef](val arrayUnsafe: Array[A]) extends AnyVal, LayerHcRefSys[A]

Attributes

Supertypes
trait LayerHcRefSys[A]
trait LayerHcRef[A]
trait LayerTcRef[A]
class AnyVal
trait Matchable
class Any
Show all
class LayerHcRefRow[A <: AnyRef](val row: Int, val arrayUnsafe: Array[A]) extends LayerHcRef[A]

Reference data layer for HCenRow.

Reference data layer for HCenRow.

Attributes

Companion
object
Supertypes
trait LayerHcRef[A]
trait LayerTcRef[A]
class Object
trait Matchable
class Any
object LayerHcRefRow

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait LayerHcRefSys[A <: AnyRef] extends LayerHcRef[A], LayerTcRef[A]

Reference data layer for HGridSys. An HGridSys hex tile grid system of HCen or hex tile data. For efficiency the data is stored as a flat Array. No run time information distinguishes this from an ordinary linear sequence array of data. Whether in a game or a non game application the data of the grid tiles is likely to change much more frequently than the size, shape, structure of the grid. The compiler knows this is hex grid array and hence the data should be set and retrieved through the HGrid hex grid. So nearly all the methods take the HGrid as an implicit parameter.

Reference data layer for HGridSys. An HGridSys hex tile grid system of HCen or hex tile data. For efficiency the data is stored as a flat Array. No run time information distinguishes this from an ordinary linear sequence array of data. Whether in a game or a non game application the data of the grid tiles is likely to change much more frequently than the size, shape, structure of the grid. The compiler knows this is hex grid array and hence the data should be set and retrieved through the HGrid hex grid. So nearly all the methods take the HGrid as an implicit parameter.

Attributes

Companion
object
Supertypes
trait LayerHcRef[A]
trait LayerTcRef[A]
class Any
Known subtypes
class LayerHcRefGrid[A]
class LayerHcRefMulti[A]
object LayerHcRefSys

Companion object for LayerHcRefSys, contains factory apply methods.

Companion object for LayerHcRefSys, contains factory apply methods.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait LayerHcSys[AA]

Not sure about the usefulness of this trait yet.

Not sure about the usefulness of this trait yet.

Attributes

Supertypes
class Any
Known subtypes
class LayerHcOptSys[A]
trait LayerHsOpt

Attributes

Supertypes
class Object
trait Matchable
class Any
final class LinePathHC(val arrayUnsafe: Array[Int]) extends AnyVal, HCoordSeqSpec, LinePathInt2[HCoord]

A trait for classes of line paths specified by [HCoord hex grid tile coordinates.

A trait for classes of line paths specified by [HCoord hex grid tile coordinates.

Attributes

Companion
object
Supertypes
trait SeqSpec[HCoord]
trait SeqLike[HCoord]
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
LinePathHC.type
case class LineSegHC(r1: Int, c1: Int, r2: Int, c2: Int) extends LineSegLikeInt4[HCoord], Int4Elem

A 2d line upon a HexGrid defined by its start and end HGrid HCoords.

A 2d line upon a HexGrid defined by its start and end HGrid HCoords.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Int4Elem
trait IntNElem
trait ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all
object LineSegHC

companion object for LineSegHC class contains factory apply method.

companion object for LineSegHC class contains factory apply method.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
LineSegHC.type
class LineSegHCArr(val arrayUnsafe: Array[Int]) extends ArrInt4[LineSegHC]

Compact immutable Array[Int] based collection class for LineSegHCs. LineSegHC is the library's term for a mathematical straight line segment, but what in common parlance is often just referred to as a line.

Compact immutable Array[Int] based collection class for LineSegHCs. LineSegHC is the library's term for a mathematical straight line segment, but what in common parlance is often just referred to as a line.

Attributes

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

Companion object for the LineSegHCs class.

Companion object for the LineSegHCs class.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class LineSegHCBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal, BuffInt4[LineSegHC]

Efficient expandable buffer for Line2s.

Efficient expandable buffer for Line2s.

Attributes

Companion
object
Supertypes
trait Sequ[LineSegHC]
class AnyVal
trait Matchable
class Any
Show all
object LineSegHCBuff

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class LineSegHCPair[A2](val a1Int1: Int, val a1Int2: Int, val a1Int3: Int, val a1Int4: Int, val a2: A2) extends LineSegLikeInt4Pair[HCoord, LineSegHC, A2]

SqCood defined LineSegLike PairFinalA1Elem.

SqCood defined LineSegLike PairFinalA1Elem.

Attributes

Companion
object
Supertypes
trait PairInt4Elem[LineSegHC, A2]
trait PairIntNElem[LineSegHC, A2]
trait PairElem[LineSegHC, A2]
class Object
trait Matchable
class Any
Show all
object LineSegHCPair

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class LineSegHCPairArr[A2](val a1ArrayInt: Array[Int], val a2Array: Array[A2]) extends LineSegLikeInt4PairArr[HCoord, LineSegHC, LineSegHCArr, A2, LineSegHCPair[A2]]
class LineSegHCPairBuff[B2](val b1IntBuffer: ArrayBuffer[Int], val b2Buffer: ArrayBuffer[B2]) extends BuffPairInt4[LineSegHC, B2, LineSegHCPair[B2]]

Specialised BuffSequ class for LineSegHCPairs, that uses two backing ArrayBuffers.

Specialised BuffSequ class for LineSegHCPairs, that uses two backing ArrayBuffers.

Attributes

Supertypes
trait BuffPair[LineSegHC, B2, LineSegHCPair[B2]]
trait BuffSequ[LineSegHCPair[B2]]
trait Sequ[LineSegHCPair[B2]]
trait SeqLike[LineSegHCPair[B2]]
class Object
trait Matchable
class Any
Show all
class LineSegHvOffset(val int1: Int, val int2: Int, val int3: Int, val int4: Int, val int5: Int, val int6: Int) extends LineSegLikeInt6[HvOffset]

A Line segment where the vertices of specified in HvOffsets.

A Line segment where the vertices of specified in HvOffsets.

Attributes

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

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class LineSegHvOffsetArr(val arrayUnsafe: Array[Int]) extends AnyVal, ArrInt6[LineSegHvOffset], LineSegHvOffsetSeqLike

Specialised sequence class for HvOffset.

Specialised sequence class for HvOffset.

Attributes

Supertypes
final class LineSegHvOffsetBuff(val unsafeBuffer: ArrayBuffer[Int]) extends AnyVal, BuffInt6[LineSegHvOffset]

Specialised sequence buffer class for HvOffset.

Specialised sequence buffer class for HvOffset.

Attributes

Companion
object
Supertypes
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
Self type

Attributes

Supertypes
Known subtypes
final class PolygonHC(val arrayUnsafe: Array[Int]) extends AnyVal, HCoordSeqSpec, PolygonLikeInt2[HCoord], ArrayIntBacked

A polygon with the vertices defined by hex tile coordinates HCoords.

A polygon with the vertices defined by hex tile coordinates HCoords.

Attributes

Companion
object
Supertypes
trait SeqSpec[HCoord]
trait SeqLike[HCoord]
class AnyVal
trait Matchable
class Any
Show all

Companion object for the polygon whose vertices are defined by hex tile coordinates PolygonHC trait.

Companion object for the polygon whose vertices are defined by hex tile coordinates PolygonHC trait.

Attributes

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

Speialised Arr class for PolygonHCs.

Speialised Arr class for PolygonHCs.

Attributes

Supertypes
trait Arr[PolygonHC]
trait Sequ[PolygonHC]
class Object
trait Matchable
class Any
Show all
final class PolygonHCBuff(val unsafeBuffer: ArrayBuffer[Array[Int]]) extends AnyVal, ArrayIntBuff[PolygonHC]

Attributes

Companion
object
Supertypes
trait Sequ[PolygonHC]
class AnyVal
trait Matchable
class Any
Show all
object PolygonHCBuff

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class PolygonHCPair[A2](val a1ArrayInt: Array[Int], val a2: A2) extends PolygonLikeIntNPair[HCoord, PolygonHC, A2]

A PolygonHC, a Polygon with the vertices defined in HCoords paired with an object of type A2.

A PolygonHC, a Polygon with the vertices defined in HCoords paired with an object of type A2.

Attributes

Companion
object
Supertypes
trait SpecialT
trait PairElem[PolygonHC, A2]
class Object
trait Matchable
class Any
Show all
object PolygonHCPair

Companion object for a PolygonHC, a Polygon with the vertices defined in HCoords paired with an object of type A2. Contains implicit build instance for PolygonHCPArr.

Companion object for a PolygonHC, a Polygon with the vertices defined in HCoords paired with an object of type A2. Contains implicit build instance for PolygonHCPArr.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class PolygonHCPairArr[A2](val a1ArrayArrayInts: Array[Array[Int]], val a2Array: Array[A2]) extends PolygonLikeIntNPairArr[HCoord, PolygonHC, PolygonHCArr, A2, PolygonHCPair[A2]]

An Arr of PolygonHC pairs. A Polygon with the vertices defined in HCoords paired with an object of type A2.

An Arr of PolygonHC pairs. A Polygon with the vertices defined in HCoords paired with an object of type A2.

Attributes

Supertypes
class PolygonHCPairBuff[A2](val b1Buffer: ArrayBuffer[Array[Int]], val b2Buffer: ArrayBuffer[A2]) extends SeqLikeIntNPairBuff[HCoord, PolygonHC, A2, PolygonHCPair[A2]]

A buffer of PolygonHC pairs. A Polygon with the vertices defined in HCoords paired with an object of type A2.

A buffer of PolygonHC pairs. A Polygon with the vertices defined in HCoords paired with an object of type A2.

Attributes

Supertypes
trait BuffPair[PolygonHC, A2, PolygonHCPair[A2]]
trait BuffSequ[PolygonHCPair[A2]]
trait Sequ[PolygonHCPair[A2]]
trait SeqLike[PolygonHCPair[A2]]
class Object
trait Matchable
class Any
Show all
final class PolygonHCPairBuild[A2](implicit val b2ClassTag: ClassTag[A2], notB: Not[SpecialT]#<none>[A2]) extends SeqLikeIntNPairArrBuilder[HCoord, PolygonHC, PolygonHCArr, A2, PolygonHCPair[A2], PolygonHCPairArr[A2]]

A builder for ann Arr of PolygonHC pairs. A Polygon with the vertices defined in HCoords paired with an object of type A2.

A builder for ann Arr of PolygonHC pairs. A Polygon with the vertices defined in HCoords paired with an object of type A2.

Attributes

Supertypes
class PolygonHvOffset(val arrayUnsafe: Array[Int]) extends HvOffsetSeqLike, PolygonLikeInt3[HvOffset]

A polygon where the vertices are specified in HvOffsets.

A polygon where the vertices are specified in HvOffsets.

Attributes

Companion
object
Supertypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
implicit class RArrAnysExtensions(thisArr: RArr[Any])

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

Concrete fields

The hex centre step values.

The hex centre step values.

Attributes

Implicits

Implicits

final implicit def RArrAnysExtensions(thisArr: RArr[Any]): RArrAnysExtensions