VTerrSetter

ostrat.pCiv.VTerrSetter
abstract class VTerrSetter(gridIn: HGrid, val terrs: LayerHcRefSys[VTile], val sTerrs: LayerHSOptSys[VSep, VSepSome], val corners: HCornerLayer) extends HSetter[VTile, VSep, VSepSome]

Helper class for setting LayerHcRefSys[VTile], HSepLayer[VSep] and HCornerLayer at the same time.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

class BendAll(val c: Int, val dirn: HVDirn, val leftTerr: VSepSome, val rightTerr: VSepSome) extends VertRowElem, BendInOutBase

Attributes

Companion
object
Supertypes
trait BendBase
trait VertSetBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all
object BendAll

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
BendAll.type
class BendIn(val c: Int, val dirn: HVDirn, val leftTerr: VSepSome, val rightTerr: VSepSome) extends VertRowElem, BendInBase

Sets the inner corner of the bend for HSep terrain with a magnitude of 6, Sets the 2 HSep terrains of the bend vertex, with a default terrain of Sea. The orientation of the bend is specified by the direction of the inside of the bend.

Sets the inner corner of the bend for HSep terrain with a magnitude of 6, Sets the 2 HSep terrains of the bend vertex, with a default terrain of Sea. The orientation of the bend is specified by the direction of the inside of the bend.

Attributes

Companion
object
Supertypes
trait BendInBase
trait BendBase
trait VertSetBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all
object BendIn

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
BendIn.type
class Cape extends TRowElem, CapeBase

Sets a number of consective BendIns on the tile.

Sets a number of consective BendIns on the tile.

Attributes

Companion
object
Supertypes
trait CapeBase
trait TRowElem
trait VTileHelper
class Object
trait Matchable
class Any
Show all
object Cape

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Cape.type
sealed trait DataRow extends DataRowBase

Attributes

Supertypes
trait DataRowBase
class Object
trait Matchable
class Any
Known subtypes
class TileRow
class VertRow
object Isle10

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Isle10.type
trait Isle10 extends TRowElem, Isle10Base

Attributes

Companion
object
Supertypes
trait Isle10Base
trait IsleNBase
trait TRowElem
trait VTileHelper
class Object
trait Matchable
class Any
Show all
Known subtypes
class Isle10Homo
case class Isle10Homo(terr: Land, sepTerrs: Water) extends Isle10, IsleNBaseHomo

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Isle10
trait Isle10Base
trait IsleNBase
trait TRowElem
trait VTileHelper
class Object
trait Matchable
class Any
Show all
class Isthmus extends TRowElem, IsthmusBase

Isthmus for VTiles. Sets the HCen terrain Pulls in opposite vertices and sets 4 side terrains.

Isthmus for VTiles. Sets the HCen terrain Pulls in opposite vertices and sets 4 side terrains.

Attributes

Companion
object
Supertypes
trait IsthmusBase
trait TRowElem
trait VTileHelper
class Object
trait Matchable
class Any
Show all
object Isthmus

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Isthmus.type
case class Orig(c: Int, dirn: HVDirnPrimary, sTerr: VSepSome, magLt: Int, magRt: Int) extends VertRowElem, OrigLtRtBase

Sets the origin / end point of an HSep tile separator terrain for a river or straits.

Sets the origin / end point of an HSep tile separator terrain for a river or straits.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait OrigLtRtBase
trait OrigBase
trait VertSetBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all
case class OrigLt(c: Int, dirn: HVDirnPrimary, sTerr: VSepSome) extends VertRowElem, OrigLtBase

Origin / end point of an HSep hex tile separator, offset to the left as viewed from the HVert looking down the HSep.

Origin / end point of an HSep hex tile separator, offset to the left as viewed from the HVert looking down the HSep.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait OrigLtBase
trait OrigBase
trait VertSetBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all
case class OrigRt(c: Int, dirn: HVDirnPrimary, sTerr: VSepSome) extends VertRowElem, OrigRtBase

Origin / end point of an HSep hex tile separator, offset to the right as viewed from the HVert looking down the HSep.

Origin / end point of an HSep hex tile separator, offset to the right as viewed from the HVert looking down the HSep.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait OrigRtBase
trait OrigBase
trait VertSetBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all
case class SepB(sTerr: VSepSome) extends TRowElem, SepBBase

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SepBBase
trait TRowElem
trait VTileHelper
class Object
trait Matchable
class Any
Show all
case class SetSep(c: Int, terr: VSepSome) extends VertRowElem, SetSepBase

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SetSepBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait VTileHelper
class Object
trait Matchable
class Any
Known subtypes
class Cape
trait Isle10
class Isle10Homo
class Isthmus
class SepB
case class ThreeDown(c: Int, upRightTerr: VSepSome, downTerr: VSepSome, upLeftTerr: VSepSome, magUp: Int, magDR: Int, magDL: Int) extends VertRowElem, ThreeDownBase

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait VertSetBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all
object ThreeDown

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ThreeDown.type
class ThreeUp(val c: Int, val upTerr: VSepSome, val downRightTerr: VSepSome, val downLeftTerr: VSepSome, val magUR: Int, val magDn: Int, val magUL: Int) extends VertRowElem, ThreeUpBase

Attributes

Companion
object
Supertypes
trait ThreeUpBase
trait VertSetBase
trait VertRowElem
class Object
trait Matchable
class Any
Show all
object ThreeUp

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ThreeUp.type
class TileRow(val row: Int, val mutlis: RArr[Multiple[VTileHelper]]) extends TileRowBase, DataRow

Attributes

Companion
object
Supertypes
trait DataRow
trait TileRowBase
trait DataRowBase
class Object
trait Matchable
class Any
Show all
object TileRow

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TileRow.type
class VertRow(val row: Int, val edits: RArr[VertRowElem]) extends VertRowBase, DataRow

Attributes

Companion
object
Supertypes
trait DataRow
trait VertRowBase
trait DataRowBase
class Object
trait Matchable
class Any
Show all
object VertRow

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
VertRow.type
sealed trait VertRowElem extends VertRowElemBase

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BendAll
class BendIn
class Orig
class OrigLt
class OrigRt
class SetSep
class ThreeDown
class ThreeUp
Show all

Inherited classlikes

trait BendBase extends VertSetBase

Sets only the inside HCorner of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets only the inside HCorner of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Inherited from:
HSetter
Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
trait BendInBase
class BendIn
class BendIn
trait BendInLtBase
class BendInLt
class Bend
class BendExtra
class BendMax
class BendMin
class BendAll
trait BendInRtBase
class BendInRt
trait BendOutBase
class BendOut
Show all
trait BendInBase extends BendBase

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Inherited from:
HSetter
Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendIn
class BendIn
trait BendInLtBase extends BendBase

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets only the inside HCorner of Vertex for a bend in HSeps terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Inherited from:
HSetter
Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendInLt
trait BendInOutBase extends BendBase

Sets all the corners of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Sets all the corners of Vertex for a bend HSep terrain, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Inherited from:
HSetter
Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class Bend
class BendExtra
class BendMax
class BendMin
class BendAll
Show all

So I think this is only useful on edge of a grid where it meets a second grid. Sets all the corners of Vertex for a bend HSep terrain, with extra separator vertex, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

So I think this is only useful on edge of a grid where it meets a second grid. Sets all the corners of Vertex for a bend HSep terrain, with extra separator vertex, Sets the left most of the HSeps of this vertex. The orientation of the bend is specified by the direction of the inside of the bend. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Inherited from:
HSetter
Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Show all
Known subtypes
class BendExtra
trait BendInRtBase extends BendBase

Attributes

Inherited from:
HSetter
Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendInRt

Used for setting the corners of a vertex on the right edge of a grid. Sets the vertex to the left on both hex tiles.

Used for setting the corners of a vertex on the right edge of a grid. Sets the vertex to the left on both hex tiles.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BendLtOut
trait BendOutBase extends BendBase

Sets the 2 outer corners of the bend for HSep terrain, Also sets the left most of the HSeps of the bend vertex. The orientation of the bend is specified by the direction of the inside of the bend.

Sets the 2 outer corners of the bend for HSep terrain, Also sets the left most of the HSeps of the bend vertex. The orientation of the bend is specified by the direction of the inside of the bend.

Attributes

Inherited from:
HSetter
Supertypes
trait BendBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class BendOut
trait CapeBase

Base trait for capes / headlands / peninsulas. Only use these classes for HVerts where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Base trait for capes / headlands / peninsulas. Only use these classes for HVerts where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Cape
trait DataRowBase

The base trait for data rows.

The base trait for data rows.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait DateRow
class TileRow
class VertRow
trait TileRowBase
class TileRow
trait VertRowBase
class VertRow
trait DataRow
Show all
trait Isle10Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 10/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 10/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle10
class Isle10Het
class Isle10Homo
trait Isle12
class Isle12Het
class Isle12Homo
trait Isle10
class Isle10Homo
Show all
trait Isle11Base extends IsleNLargeBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 11/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 11/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle11
class Isle11Het
class Isle11Homo
trait Isle12Base extends IsleNLargeBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 12/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 12/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
trait Isle13Base extends IsleNLargeBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 13/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 13/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle13
class Isle13Het
class Isle13Homo
trait Isle3Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 3/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 3/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle3
class Isle3Homo
trait Isle4Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 4/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 4/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle4
class Isle4Homo
trait Isle5Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 5/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 5/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle5
class Isle5Homo
trait Isle6Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 6/16 of the radius of the hex. Only use* these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 6/16 of the radius of the hex. Only use* these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle6
class Isle6Homo
trait Isle7Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 7/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 7/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle7
class Isle7Homo
trait Isle8Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 8/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 8/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle8
class Isle8Het
class Isle8Homo
trait Isle9Base extends IsleNSmallBase

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 9/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Sets the HCen terrain, the HSep terrains and the HCorners for an Island, with a radius of 9/16 of the radius of the hex. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners on shared HVerts.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Isle9
class Isle9Het
class Isle9Homo
trait IsleNBase extends TileRowElemBase

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Isle10Homo
class Isle11Homo
class Isle12Homo
class Isle13Homo
class Isle3Homo
class Isle4Homo
class Isle5Homo
class Isle6Homo
class Isle7Homo
class Isle8Homo
class Isle9Homo
class Isle10Homo
trait Isle11Base
trait Isle11
class Isle11Het
trait Isle12Base
trait Isle13Base
trait Isle13
class Isle13Het
trait Isle10Base
trait Isle10
class Isle10Het
trait Isle12
class Isle12Het
trait Isle10
trait Isle3Base
trait Isle3
trait Isle4Base
trait Isle4
trait Isle5Base
trait Isle5
trait Isle6Base
trait Isle6
trait Isle7Base
trait Isle7
trait Isle8Base
trait Isle8
class Isle8Het
trait Isle9Base
trait Isle9
class Isle9Het
Show all
trait IsleNBaseHomo extends IsleNBase

Terrain setter trait for (geometrical) island terrain. where all the HSep separators have the same terrain type.

Terrain setter trait for (geometrical) island terrain. where all the HSep separators have the same terrain type.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Known subtypes
class Isle10Homo
class Isle11Homo
class Isle12Homo
class Isle13Homo
class Isle3Homo
class Isle4Homo
class Isle5Homo
class Isle6Homo
class Isle7Homo
class Isle8Homo
class Isle9Homo
class Isle10Homo
Show all
trait IsleNLargeBase extends IsleNBase

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Known subtypes
trait Isle11Base
trait Isle11
class Isle11Het
class Isle11Homo
trait Isle12Base
trait Isle13Base
trait Isle13
class Isle13Het
class Isle13Homo
Show all
trait IsleNSmallBase extends IsleNBase

Sets the HSep separators terrain and HCorners for an Island or geometrically analogous terrain, with a radius set in the sub traits. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners.

Sets the HSep separators terrain and HCorners for an Island or geometrically analogous terrain, with a radius set in the sub traits. Only use these classes for hexs where there is no offset for any of the adjacent hex's HCorners.

Attributes

Inherited from:
HSetter
Supertypes
trait IsleNBase
class Object
trait Matchable
class Any
Known subtypes
trait Isle10Base
trait Isle10
class Isle10Het
class Isle10Homo
trait Isle12
class Isle12Het
class Isle12Homo
trait Isle10
class Isle10Homo
trait Isle3Base
trait Isle3
class Isle3Homo
trait Isle4Base
trait Isle4
class Isle4Homo
trait Isle5Base
trait Isle5
class Isle5Homo
trait Isle6Base
trait Isle6
class Isle6Homo
trait Isle7Base
trait Isle7
class Isle7Homo
trait Isle8Base
trait Isle8
class Isle8Het
class Isle8Homo
trait Isle9Base
trait Isle9
class Isle9Het
class Isle9Homo
Show all
trait IsthmusBase

Needs removing. Base trait Isthmus. Generally this will be used for Isthmuses, but it can be used for any HCen and HSep terrain that fits the geometry.

Needs removing. Base trait Isthmus. Generally this will be used for Isthmuses, but it can be used for any HCen and HSep terrain that fits the geometry.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Isthmus
trait OrigBase extends VertSetBase

Attributes

Inherited from:
HSetter
Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
trait OrigLtBase
class OrigLt
class OrigLt
trait OrigLtRtBase
class Orig
class OrigMax
class OrigMin
class Orig
trait OrigRtBase
class OrigRt
class OrigRt
Show all
trait OrigLtBase extends OrigBase

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the left from the same view.

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the left from the same view.

Attributes

Inherited from:
HSetter
Supertypes
trait OrigBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class OrigLt
class OrigLt
trait OrigLtRtBase extends OrigBase

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep.

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep.

Attributes

Inherited from:
HSetter
Supertypes
trait OrigBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class Orig
class OrigMax
class OrigMin
class Orig
trait OrigRtBase extends OrigBase

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the right from the same view.

Sets origin / end point of an HSep hex tile separator. The direction is given by the view from the HVert deon the HSep. This is offset to the right from the same view.

Attributes

Inherited from:
HSetter
Supertypes
trait OrigBase
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class OrigRt
class OrigRt
trait SepBBase extends TileRowElemBase

Sets an HSepB separator in the tile row. Make sure you do not add 4 to the column coordinate after applying this.

Sets an HSepB separator in the tile row. Make sure you do not add 4 to the column coordinate after applying this.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SepB
class SepB
trait SetSepBase

This is for setting HSeps on the edge of grids that sit within the hex area of the tile on the neighbouring grid.

This is for setting HSeps on the edge of grids that sit within the hex area of the tile on the neighbouring grid.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SetSep
class SetSep
trait ThreeDownBase extends VertSetBase

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Inherited from:
HSetter
Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class ThreeDown
class ThreeDown
trait ThreeUpBase extends VertSetBase

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Used for setting a vertex where 3 HSep terrains meet. Also sets the left most HSep. This trait is provided to model real world geographic / terrain features and is probably superfluous for created worlds / terrain.

Attributes

Inherited from:
HSetter
Supertypes
trait VertSetBase
class Object
trait Matchable
class Any
Known subtypes
class ThreeUp
class ThreeUp
trait TileRowBase extends DataRowBase

A row of tile data and HSepB

A row of tile data and HSepB

Attributes

Inherited from:
HSetter
Supertypes
trait DataRowBase
class Object
trait Matchable
class Any
Known subtypes
class TileRow
class TileRow

A tile row element. Your tile rows will include these in addition to straight tile values.

A tile row element. Your tile rows will include these in addition to straight tile values.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait IsleNBase
class Isle10Homo
class Isle11Homo
class Isle12Homo
class Isle13Homo
class Isle3Homo
class Isle4Homo
class Isle5Homo
class Isle6Homo
class Isle7Homo
class Isle8Homo
class Isle9Homo
class Isle10Homo
trait Isle11Base
trait Isle11
class Isle11Het
trait Isle12Base
trait Isle13Base
trait Isle13
class Isle13Het
trait Isle10Base
trait Isle10
class Isle10Het
trait Isle12
class Isle12Het
trait Isle10
trait Isle3Base
trait Isle3
trait Isle4Base
trait Isle4
trait Isle5Base
trait Isle5
trait Isle6Base
trait Isle6
trait Isle7Base
trait Isle7
trait Isle8Base
trait Isle8
class Isle8Het
trait Isle9Base
trait Isle9
class Isle9Het
trait SepBBase
class SepB
class SepB
trait TileRowElem
trait TRowElem
class Cape
class Isthmus
Show all
trait VertRowBase extends DataRowBase

Base trait for vertex rows. The odd rows of the tile grid.

Base trait for vertex rows. The odd rows of the tile grid.

Attributes

Inherited from:
HSetter
Supertypes
trait DataRowBase
class Object
trait Matchable
class Any
Known subtypes
class VertRow
class VertRow

Base trait for elements of a VertRowBase.

Base trait for elements of a VertRowBase.

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait VertRowElem
class Bend
class BendExtra
class BendIn
class BendInLt
class BendInRt
class BendLtOut
class BendMax
class BendMin
class BendOut
class Orig
class OrigLt
class OrigMax
class OrigMin
class OrigRt
class SetSep
class ThreeDown
class ThreeUp
trait VertRowElem
class BendAll
class BendIn
class Orig
class OrigLt
class OrigRt
class SetSep
class ThreeDown
class ThreeUp
Show all
trait VertSetBase

Attributes

Inherited from:
HSetter
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BendBase
trait BendInBase
class BendIn
class BendIn
trait BendInLtBase
class BendInLt
class Bend
class BendExtra
class BendMax
class BendMin
class BendAll
trait BendInRtBase
class BendInRt
trait BendOutBase
class BendOut
trait OrigBase
trait OrigLtBase
class OrigLt
class OrigLt
trait OrigLtRtBase
class Orig
class OrigMax
class OrigMin
class Orig
trait OrigRtBase
class OrigRt
class OrigRt
class ThreeDown
class ThreeDown
trait ThreeUpBase
class ThreeUp
class ThreeUp
Show all

Value members

Concrete methods

def tileRun(row: Int, c: Int, tile: VTile): Unit

Inherited methods

def run: Unit

This has to be run to after all the data rows have been assembled. This runs the tile rows first setting the values in the LayerHcRef. In the case of IsleNBases, CapeBases and HSepBBases sets values in the LayerHSOptSys and the HCornerLayer. It then runs the then the vert rows, setting the bulk of the values in the LayerHSOptSys and the HCornerLayer. It can override values set by the tile row data.

This has to be run to after all the data rows have been assembled. This runs the tile rows first setting the values in the LayerHcRef. In the case of IsleNBases, CapeBases and HSepBBases sets values in the LayerHSOptSys and the HCornerLayer. It then runs the then the vert rows, setting the bulk of the values in the LayerHSOptSys and the HCornerLayer. It can override values set by the tile row data.

Attributes

Inherited from:
HSetter

The side effecting implementation of a data tile row.

The side effecting implementation of a data tile row.

Attributes

Inherited from:
HSetter

Abstract fields

override val rows: RArr[DataRow]

The Data to be encoded in the layers.

The Data to be encoded in the layers.

Attributes

Concrete fields

The HCorner layer to set the vertices of the HSeps.

The HCorner layer to set the vertices of the HSeps.

Attributes

The LayerHSOptSys. The HSep separator values.

The LayerHSOptSys. The HSep separator values.

Attributes

The LayerHcRefSys. The HCen tile values.

The LayerHcRefSys. The HCen tile values.

Attributes

Implicits

Implicits

implicit val grid: HGrid

The grid that maps the data layers.

The grid that maps the data layers.

Attributes