EGridAncientOnly

class EGridAncientOnly(name: String, cenLong: Longitude, scale: Length, xOffset: Int, yOffset: Int, xTileMin: Int, xTileMax: Int, yTileMin: Int, yTileMax: Int, turnNum: Int) extends EGridAncient[TerrOnly, SideOnlyAncient]

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[TerrOnly, _], cood: Cood): Unit
Inherited from:
TileGridAncient
def fSetSide[A](x: Int, y: Int, value: A)(implicit f: (Int, Int, A) => SideOnlyAncient): Unit
Inherited from:
TileGridAncient
def fSetTile[A](x: Int, y: Int, value: A)(implicit fTile: (Int, Int, A) => TerrOnly): Unit
Inherited from:
TileGridAncient
def fSetTile[A](cood: Cood, value: A)(implicit fTile: (Int, Int, A) => TerrOnly): Unit
Inherited from:
TileGridAncient
def foreachSideCoodPDMapAll[A <: ElemValueN, M <: ArrValueNs[A]](f: Cood => A)(implicit ev: DataValueNsPersist[A, M]): M
Inherited from:
TileGridAncient
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
final def foreachTileAll(f: TerrOnly => 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
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
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
Inherited from:
TileGridAncient
Inherited from:
TileGridAncient
def getTile(x: Int, y: Int): TerrOnly
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: TerrOnly => Unit, xys: (Int, Int)*): Unit
Inherited from:
TileGridAncient
Inherited from:
TileGridAncient
def ofETilesFold[R](eg: EarthGuiOld, f: OfETile[TerrOnly, SideOnlyAncient] => R, fSum: (R, R) => R)(emptyVal: R): R
Inherited from:
EGridAncient
Inherited from:
TileGridAncient
override def optTile(x: Int, y: Int): Option[TerrOnly]
Definition Classes
Inherited from:
HexGridIrrAncient
final def optTile(cood: Cood): Option[TerrOnly]
Inherited from:
TileGridAncient
def rowEndInd(y: Int): Int
Inherited from:
HexGridIrrAncient
final def rowForeachTileAll(y: Int)(f: TerrOnly => 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
Inherited from:
HexGridIrrAncient
Inherited from:
HexGridIrrAncient
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) => TerrOnly): 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) => TerrOnly): 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) => TerrOnly): Cood
Inherited from:
TileGridAncient
final def setRowBack[A](yRow: Int, xStart: Int, tileMakers: Multiple[A]*)(implicit f: (Int, Int, A) => TerrOnly): 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: SideOnlyAncient): Unit
Inherited from:
TileGridAncient
def setSide(x: Int, y: Int, side: SideOnlyAncient): Unit
Inherited from:
TileGridAncient
final def setSideCollection[A](coods: Coods, value: A)(implicit f: (Int, Int, A) => SideOnlyAncient): 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) => SideOnlyAncient): Unit
Inherited from:
TileGridAncient
def setTile(cood: Cood, value: TerrOnly): Unit
Inherited from:
TileGridAncient
def setTile(x: Int, y: Int, value: TerrOnly): Unit
Inherited from:
TileGridAncient
final override def setTileRect[A](xFrom: Int, xTo: Int, yFrom: Int, yTo: Int, tileValue: A)(implicit f: (Int, Int, A) => TerrOnly): Unit
Definition Classes
Inherited from:
HexGridIrrAncient
final def setTiles[A](bottomLeft: Cood, topRight: Cood, tileValue: A)(implicit f: (Int, Int, A) => TerrOnly): Unit
Inherited from:
TileGridAncient
final def setTilesAll[A](value: A)(implicit fTile: (Int, Int, A) => TerrOnly): Unit
Inherited from:
TileGridAncient
final def sideArrLen: Int
Inherited from:
TileGridAncient
Inherited from:
TileGridAncient
final def sideCoodsAll: Coods
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 def tileDestinguishColour(tileCood: Cood): Colour
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 <: SeqImut[B]](f: TerrOnly => BB)(implicit build: ArrBuilder[B, BB]): BB
Inherited from:
TileGridAncient

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: TerrOnly => R, fSum: (R, R) => R)(emptyVal: R): R

Folds All tiles.

Folds All tiles.

Inherited from:
TileGridAncient
final def tilesMapAll[B, BB <: SeqImut[B]](f: TerrOnly => 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: TerrOnly => A): List[A]
Inherited from:
TileGridAncient
final def tilesMapOptionAll[A, AA <: SeqImut[A]](f: TerrOnly => Option[A])(implicit build: ArrBuilder[A, AA]): AA
Inherited from:
TileGridAncient
final def tilesMapOptionListAll[A](f: TerrOnly => 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[TerrOnly]
Inherited from:
HexGridAncient
Inherited from:
HexGridIrrAncient
Inherited from:
EGridAncient
Inherited from:
EGridAncient
override val xRatio: Double
Inherited from:
HexGridAncient
override val yArrLen: Int
Inherited from:
HexGridAncient

Implicits

Inherited implicits

Inherited from:
HexGridAncient
implicit val evTile: ClassTag[TerrOnly]
Inherited from:
HexGridAncient