EGridLongMan

ostrat.egrid.EGridLongMan
case class EGridLongMan(thisInd: Int, sys: EGridLongMulti) extends EGridMan

Manages an EGridLong.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EGridMan
trait HGridMan
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

final override def grid: EGridLong

The grid that this object manages for the HGridMulti.

The grid that this object manages for the HGridMulti.

Attributes

Definition Classes
final override def indexStart: Int

The tile data array index start for this grid manager.

The tile data array index start for this grid manager.

Attributes

Definition Classes
override def innerRowInnerSidesForeach(r: Int)(f: HSide => Unit): Unit

Attributes

Definition Classes
final override def offset: Vec2

The offet is used in the implementation of the flatHCoordToPt2(hCoord: HCoord) method in HGridMulti where it is added to the Pt2 value given by the HGrid.

The offet is used in the implementation of the flatHCoordToPt2(hCoord: HCoord) method in HGridMulti where it is added to the Pt2 value given by the HGrid.

Attributes

Definition Classes
final override def outSteps(r: Int, c: Int): HStepCenArr

Tile steps from a hex within this managers grid to other grids.

Tile steps from a hex within this managers grid to other grids.

Attributes

Definition Classes
override def outerSidesForeach(f: HSide => Unit): Unit

Foreach's over the sides of the HGrid that are outer sides, ie nt links of the HGridSys. This will be a subset of the Hgrids's outer sides, as some of the girds outer sides will link to hexes in other grids within the [HGridSys]] grid system.

Foreach's over the sides of the HGrid that are outer sides, ie nt links of the HGridSys. This will be a subset of the Hgrids's outer sides, as some of the girds outer sides will link to hexes in other grids within the [HGridSys]] grid system.

Attributes

Definition Classes
override def sideArrIndex(r: Int, c: Int): Int

Gives the index into an HSide data layer's backing Array.

Gives the index into an HSide data layer's backing Array.

Attributes

Definition Classes
override def sideTile1(hSide: HSide): HCen

Returns a c of 0, if the row doesn't exist.

Returns a c of 0, if the row doesn't exist.

Attributes

Definition Classes
override def sideTile2(hSide: HSide): HCen

Attributes

Definition Classes
override def sidesForeach(f: HSide => Unit): Unit

Attributes

Definition Classes

Inherited methods

Default implementation may need removal.

Default implementation may need removal.

Attributes

Inherited from:
HGridMan
def findStep(startHC: HCen, endHC: HCen): Option[HStep]

Attributes

Inherited from:
HGridMan
def findStepEnd(startHC: HCen, step: HStep): Option[HCen]

Attributes

Inherited from:
HGridMan
def hCenSteps(hCen: HCen): HStepArr

Attributes

Inherited from:
HGridMan
final def linksForeach(f: HSide => Unit): Unit

Foreach's over sides of the HGrid that are links ar inner sides within the HGridSys. Note this wil include all the links of the HGrid plus outer sides of the HGrid that link to hexs in other HGrids within the system.

Foreach's over sides of the HGrid that are links ar inner sides within the HGridSys. Note this wil include all the links of the HGrid plus outer sides of the HGrid that link to hexs in other HGrids within the system.

Attributes

Inherited from:
EGridMan

Attributes

Inherited from:
HGridMan

The number of tiles in the Hex grid this manager class is managing.

The number of tiles in the Hex grid this manager class is managing.

Attributes

Inherited from:
HGridMan
final def outSteps(hCen: HCen): HStepCenArr

Tile steps from a hex within this managers grid to other grids.

Tile steps from a hex within this managers grid to other grids.

Attributes

Inherited from:
HGridMan

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def sideTiles(hSide: HSide): (HCen, HCen)

Attributes

Inherited from:
HGridMan
def sidesFold[A](f: (A, HSide) => A)(implicit ev: DefaultValue[A]): A

Attributes

Inherited from:
HGridMan
def sidesFold[A](init: A)(f: (A, HSide) => A): A

Attributes

Inherited from:
HGridMan

Concrete fields

Array of indexes for Side data Arrs giving the index value for the start of each side row.

Array of indexes for Side data Arrs giving the index value for the start of each side row.

Attributes

Inherited fields

Attributes

Inherited from:
EGridMan