EGNorth

class EGNorth[TileT <: TileAncient, SideT <: TileSideAncient](bounds: Array[Int], name: String, cenLong: Longitude, xOffset: Int, xTileMin: Int, xTileMax: Int)(implicit evTile: ClassTag[TileT], evSide: ClassTag[SideT]) extends EGrid80KmAncient[TileT, SideT]
class EGrid80KmAncient[TileT, SideT]
class EGridAncient[TileT, SideT]
class HexGridIrrAncient[TileT, SideT]
class HexGridAncient[TileT, SideT]
trait TileGridAncient[TileT, SideT]
class Object
trait Matchable
class Any

Type members

Inherited types

type GridT <: EGridAncient[TileT, SideT]
Inherited from
EGridAncient

Value members

Inherited methods

override
def adjTileCoodsOfTile(tileCood: Cood): Coods

Warning needs modification.

Warning needs modification.

Definition Classes
Inherited from
HexGridAncient
final
def arrLen: Int
Inherited from
TileGridAncient
override
def coodIsSide(x: Int, y: Int): Unit
Definition Classes
Inherited from
HexGridAncient
final
def coodIsSide(cood: Cood): Unit

Throws exception if Cood is not a valid Tile coordinate

Throws exception if Cood is not a valid Tile coordinate

Inherited from
TileGridAncient
override
def coodIsTile(x: Int, y: Int): Unit
Definition Classes
Inherited from
HexGridAncient
final
def coodIsTile(cood: Cood): Unit

Throws exception if Cood is not a valid Tile coordinate

Throws exception if Cood is not a valid Tile coordinate

Inherited from
TileGridAncient
final
def coodToInd(cood: Cood): Int
Inherited from
TileGridAncient
def coodToLL(x: Int, y: Int): LatLong
Inherited from
EGridAncient
def coodToLL(cood: Cood): LatLong

These 2 methods may be redundant

These 2 methods may be redundant

Inherited from
EGridAncient
def copyTile(oldGrid: TileGridAncient[TileT, _], cood: Cood): Unit
Inherited from
TileGridAncient
def eGraphicElems(eg: EarthGuiOld, fDisp: OfETile[TileT, SideT] => GraphicElems, sDisp: OfESide[TileT, SideT] => GraphicElems): GraphicElems
Inherited from
EGridAncient
def fSetSide[A](x: Int, y: Int, value: A)(implicit f: (Int, Int, A) => SideT): Unit
Inherited from
TileGridAncient
def fSetTile[A](x: Int, y: Int, value: A)(implicit fTile: (Int, Int, A) => TileT): Unit
Inherited from
TileGridAncient
def fSetTile[A](cood: Cood, value: A)(implicit fTile: (Int, Int, A) => TileT): Unit
Inherited from
TileGridAncient
def foreachSideCoodPDMapAll[A <: ElemValueN, M <: ArrValueNs[A]](f: Cood => A)(implicit ev: DataValueNsPersist[A, M]): M
Inherited from
TileGridAncient
@inline
final
def foreachSidesCoodAll(f: Cood => Unit): Unit

For all Sides call side effecting function on the Tile side's Cood.

For all Sides call side effecting function on the Tile side's Cood.

Inherited from
TileGridAncient
final override
def foreachSidesXYAll(f: (Int, Int) => Unit): Unit

Needs more work.

Needs more work.

Definition Classes
Inherited from
HexGridIrrAncient
@inline
final
def foreachTileAll(f: TileT => Unit): Unit

For all Tiles call side effecting function on the Tile.

For all Tiles call side effecting function on the Tile.

Inherited from
TileGridAncient
final
def foreachTileRowAll(f: Int => Unit): Unit

For each tile row, perform side effecting method.

For each tile row, perform side effecting method.

Inherited from
TileGridAncient
@inline
final
def foreachTilesCoodAll(f: Cood => Unit): Unit

For all Tiles call side effecting function on the Tile's Cood.

For all Tiles call side effecting function on the Tile's Cood.

Inherited from
TileGridAncient
@inline
final
def foreachTilesXYAll(f: (Int, Int) => Unit): Unit

For all Tiles call side effecting function on the Tile's XY Cood.

For all Tiles call side effecting function on the Tile's XY Cood.

Inherited from
TileGridAncient
def getHCost(startCood: Cood, endCood: Cood): Int

H cost for A* path finding. To move 1 tile has a cost 2. This is because the G cost or actual cost is the sum of the terrain cost of tile of departure and the tile of arrival.

H cost for A* path finding. To move 1 tile has a cost 2. This is because the G cost or actual cost is the sum of the terrain cost of tile of departure and the tile of arrival.

Inherited from
HexGridAncient
def getLL(cood: Cood): LatLong
Inherited from
EGridAncient
def getLL(x: Int, y: Int): LatLong
Inherited from
EGridAncient
def getSide(tc: Cood): SideT
Inherited from
TileGridAncient
def getSide(x: Int, y: Int): SideT
Inherited from
TileGridAncient
def getTile(tc: Cood): TileT
Inherited from
TileGridAncient
def getTile(x: Int, y: Int): TileT
Inherited from
TileGridAncient
def isTile(x: Int, y: Int): Boolean
Inherited from
HexGridAncient
def llInd(x: Int, y: Int): Int
Inherited from
EGridAncient
def llXInd(x: Int): Int
Inherited from
EGridAncient
def llXLen: Int
Inherited from
EGridAncient
def llYInd(y: Int): Int
Inherited from
EGridAncient
def llYLen: Int
Inherited from
EGridAncient
def modTilesAll(f: TileT => Unit, xys: (Int, Int)*): Unit
Inherited from
TileGridAncient
def numTileRow: Int
Inherited from
TileGridAncient
def ofETilesFold[R](eg: EarthGuiOld, f: OfETile[TileT, SideT] => R, fSum: (R, R) => R)(emptyVal: R): R
Inherited from
EGridAncient
final
def optSidesTiles(cood: Cood): (Option[TileT], Option[TileT])
Inherited from
TileGridAncient
def optSidesTiles(x: Int, y: Int): (Option[TileT], Option[TileT])
Inherited from
TileGridAncient
override
def optTile(x: Int, y: Int): Option[TileT]
final
def optTile(cood: Cood): Option[TileT]
Inherited from
TileGridAncient
def rowEndInd(y: Int): Int
Inherited from
HexGridIrrAncient
final
def rowForeachTileAll(y: Int)(f: TileT => Unit): Unit
Inherited from
TileGridAncient
final override
def rowForeachTilesXY(y: Int, xStart: Int, xEnd: Int, f: (Int, Int) => Unit): Unit

For each Tile's XY in part of a row.

For each Tile's XY in part of a row.

Definition Classes
Inherited from
HexGridAncient
final
def rowForeachTilesXYAll(y: Int)(f: (Int, Int) => Unit): Unit

For each Tile's XY in the whole of the row.

For each Tile's XY in the whole of the row.

Inherited from
TileGridAncient
def rowStartInd(y: Int): Int
Inherited from
HexGridIrrAncient
def rowTileXEnd(y: Int): Int
Inherited from
HexGridIrrAncient
def rowTileXStart(y: Int): Int
Inherited from
HexGridIrrAncient
def setLL(cood: Cood, llValue: LatLong): Unit
Inherited from
EGridAncient
def setLL(x: Int, y: Int, llValue: LatLong): Unit
Inherited from
EGridAncient
def setLongitude(x: Int, y: Int, radians: Double): Unit
Inherited from
EGridAncient
final
def setLongitude(cood: Cood, radians: Double): Unit
Inherited from
EGridAncient
final
def setRow[A](yRow: Int, xStart: Int, tileValues: Multiple[A]*)(implicit f: (Int, Int, A) => TileT): Cood

Note set Row starts with the y (row) parameter.

Note set Row starts with the y (row) parameter.

Inherited from
TileGridAncient
final
def setRow[A](cood: Cood, tileValues: Multiple[A]*)(implicit f: (Int, Int, A) => TileT): Cood

Set tile row from the Cood.

Set tile row from the Cood.

Inherited from
TileGridAncient
final
def setRowBack[A](cood: Cood, tileValues: Multiple[A]*)(implicit f: (Int, Int, A) => TileT): Cood
Inherited from
TileGridAncient
final
def setRowBack[A](yRow: Int, xStart: Int, tileMakers: Multiple[A]*)(implicit f: (Int, Int, A) => TileT): Cood

Note set RowBack starts with the y (row) parameter

Note set RowBack starts with the y (row) parameter

Inherited from
TileGridAncient
def setRowEnd(y: Int, value: Int): Unit
Inherited from
HexGridIrrAncient
def setRowStart(y: Int, value: Int): Unit
Inherited from
HexGridIrrAncient
def setSide(sc: Cood, side: SideT): Unit
Inherited from
TileGridAncient
def setSide(x: Int, y: Int, side: SideT): Unit
Inherited from
TileGridAncient
final
def setSideCollection[A](coods: Coods, value: A)(implicit f: (Int, Int, A) => SideT): Unit

Sets a Coods collection of Side Cood to the same value.

Sets a Coods collection of Side Cood to the same value.

Inherited from
TileGridAncient
final
def setSidesAll[A](value: A)(implicit fA: (Int, Int, A) => SideT): Unit
Inherited from
TileGridAncient
def setTile(cood: Cood, value: TileT): Unit
Inherited from
TileGridAncient
def setTile(x: Int, y: Int, value: TileT): Unit
Inherited from
TileGridAncient
final override
def setTileRect[A](xFrom: Int, xTo: Int, yFrom: Int, yTo: Int, tileValue: A)(implicit f: (Int, Int, A) => TileT): Unit
Definition Classes
Inherited from
HexGridIrrAncient
final
def setTiles[A](bottomLeft: Cood, topRight: Cood, tileValue: A)(implicit f: (Int, Int, A) => TileT): Unit
Inherited from
TileGridAncient
final
def setTilesAll[A](value: A)(implicit fTile: (Int, Int, A) => TileT): Unit
Inherited from
TileGridAncient
final
def sideArrLen: Int
Inherited from
TileGridAncient
@inline
final
Inherited from
TileGridAncient
override
def sideCoodsOfTile(tileCood: Cood): Coods
Definition Classes
Inherited from
HexGridAncient
override
def sideNum: Int
Definition Classes
Inherited from
HexGridIrrAncient
override
def sidesTileCoods(x: Int, y: Int): (Cood, Cood)
Definition Classes
Inherited from
HexGridAncient
final
def tileCoodsFoldAll[R](f: Cood => R, fSum: (R, R) => R)(emptyVal: R): R
Inherited from
TileGridAncient
override
def tileDestinguish[A](cood: Cood, v1: A, v2: A, v3: A, v4: A): A
Definition Classes
Inherited from
HexGridAncient
final
Inherited from
TileGridAncient
override
def tileNum: Int
Definition Classes
Inherited from
HexGridIrrAncient
final
def tilesCoodFlatMapListAll[B](f: Cood => List[B]): List[B]

FlatMap all tiles' Cood to a List[B].

FlatMap all tiles' Cood to a List[B].

Inherited from
TileGridAncient
final
def tilesCoodMapListAll[B](f: Cood => B): List[B]

Map all tiles' Cood to a List[B].

Map all tiles' Cood to a List[B].

Inherited from
TileGridAncient
def tilesFlatMapAll[B, BB <: ArrBase[B]](f: TileT => BB)(implicit build: ArrBuilder[B, BB]): BB
Inherited from
TileGridAncient
def tilesFlatMapListAll[R : ClassTag](f: TileT => List[R]): List[R]

Map all Tiles to an List with function and flatten into Single List.

Map all Tiles to an List with function and flatten into Single List.

Inherited from
TileGridAncient
final
def tilesFoldAll[R](f: TileT => R, fSum: (R, R) => R)(emptyVal: R): R

Folds All tiles.

Folds All tiles.

Inherited from
TileGridAncient
final
def tilesMapAll[B, BB <: ArrBase[B]](f: TileT => B)(implicit build: ArrBuilder[B, BB]): BB

Map all Tiles to Array[B] with function.

Map all Tiles to Array[B] with function.

Inherited from
TileGridAncient
final
def tilesMapListAll[A](f: TileT => A): List[A]
Inherited from
TileGridAncient
final
def tilesMapOptionAll[A, AA <: ArrBase[A]](f: TileT => Option[A])(implicit build: ArrBuilder[A, AA]): AA
Inherited from
TileGridAncient
final
def tilesMapOptionListAll[A](f: TileT => Option[A]): List[A]
Inherited from
TileGridAncient
final
def tilesXYMapListAll[B](f: (Int, Int) => B): List[B]

Map all tiles' XY Cood to List.

Map all tiles' XY Cood to List.

Inherited from
TileGridAncient
override
def toString: String
Definition Classes
Inherited from
EGridAncient
def vToLL(vIn: Pt2): LatLong
Inherited from
EGridAncient
override
def vertCoodLineOfSide(x: Int, y: Int): CoodLine
Definition Classes
Inherited from
HexGridAncient
override
def vertCoodsOfTile(tileCood: Cood): Coods
Definition Classes
Inherited from
HexGridAncient
def vertLL(x: Int, y: Int, ptNum: Int): LatLong
Inherited from
EGridAncient
override
def xArrLen: Int
Definition Classes
Inherited from
HexGridAncient
final
def xSideArrLen: Int
Inherited from
TileGridAncient
override
def xSideMax: Int
Definition Classes
Inherited from
HexGridAncient
override
def xSideMin: Int
Definition Classes
Inherited from
HexGridAncient
final
def xSideToInd(x: Int): Int
Inherited from
TileGridAncient
override
def xStep: Int
Definition Classes
Inherited from
HexGridAncient
final
def xToInd(x: Int): Int
Inherited from
TileGridAncient
def xySideToInd(x: Int, y: Int): Int
Inherited from
TileGridAncient
def xyToInd(x: Int, y: Int): Int
Inherited from
TileGridAncient
final
def ySideArrLen: Int
Inherited from
TileGridAncient
final
def ySideMax: Int
Inherited from
TileGridAncient
final
def ySideMin: Int
Inherited from
TileGridAncient
final
def ySideToInd(y: Int): Int
Inherited from
TileGridAncient
final
def yToInd(y: Int): Int
Inherited from
TileGridAncient

Inherited fields

override
val arr: Array[TileT]
Inherited from
HexGridAncient
var rightGrid: Option[EGridAncient[TileT, SideT]]
Inherited from
EGridAncient
val rowBounds: Array[Int]
Inherited from
HexGridIrrAncient
Inherited from
EGridAncient
val sideArr: Array[SideT]
Inherited from
HexGridIrrAncient
val turnNum: Int
Inherited from
HexGridAncient
val vArr: Array[Double]
Inherited from
EGridAncient
Inherited from
EGridAncient
override
val xRatio: Double
Inherited from
HexGridAncient
override
val yArrLen: Int
Inherited from
HexGridAncient
val yOffset: Int
Inherited from
EGridAncient
val yTileMax: Int
Inherited from
HexGridAncient
val yTileMin: Int
Inherited from
HexGridAncient