EGridMan

ostrat.egrid.EGridMan
trait EGridMan extends HGridMan

Attributes

Graph
Supertypes
trait HGridMan
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

override def grid: EGrid

The grid that this object manages for the HGridMulti.

The grid that this object manages for the HGridMulti.

Attributes

Definition Classes

The multi grid system that contains the grid that this is managing.

The multi grid system that contains the grid that this is managing.

Attributes

Concrete methods

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 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

The tile data array index start for this grid manager.

The tile data array index start for this grid manager.

Attributes

Inherited from:
HGridMan

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

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

Inherited from:
HGridMan

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
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

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

Inherited from:
HGridMan
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

Inherited from:
HGridMan
def sideTile1(hSide: HSide): HCen

Attributes

Inherited from:
HGridMan
def sideTile2(hSide: HSide): HCen

Attributes

Inherited from:
HGridMan
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

Attributes

Inherited from:
HGridMan

The position of this grid manager and grid within the grid sequence of the HGridMulti.

The position of this grid manager and grid within the grid sequence of the HGridMulti.

Attributes

Inherited from:
HGridMan

Concrete fields