OfHex

trait OfHex[TileT <: TileAncient, SideT <: TileSideAncient, GridT <: HexGridAncient[TileT, SideT]] extends OfTile[TileT, SideT, GridT]
Companion:
object
trait OfTile[TileT, SideT, GridT]
trait OfGridElem[TileT, SideT, GridT]
class Object
trait Matchable
class Any
class OfETile[TileT, SideT]

Value members

Concrete methods

override def ownSideLines: LineSegs
Definition Classes

Inherited methods

def cen: Pt2
Inherited from:
OfTile
final def cood: Cood
Inherited from:
OfTile
Inherited from:
OfGridElem
def grid: GridT
Inherited from:
OfGridElem
Inherited from:
OfGridElem
def ifScaleCObjs(ifScale: Double, cObjs: => GraphicElems): GraphicElems

If the scale is equal or greater than the parameter value return the GraphicElems of the second parameter else return an empty Arr.

If the scale is equal or greater than the parameter value return the GraphicElems of the second parameter else return an empty Arr.

Inherited from:
OfGridElem
Inherited from:
OfGridElem
def ifScaleOptObjs[A >: Null <: AnyRef](ifScale: Double, eA: OptRef[A])(f: A => GraphicElems): GraphicElems
Inherited from:
OfGridElem
def psc: Double

The number of pixels grid unit. The number of pixels per X Cood. Called pSc so it doesn't class with pScale from another class when the OfTile object's members are imported

The number of pixels grid unit. The number of pixels per X Cood. Called pSc so it doesn't class with pScale from another class when the OfTile object's members are imported

Inherited from:
OfGridElem

The number of pixels per tile, centre to centre

The number of pixels per tile, centre to centre

Inherited from:
OfGridElem
def tile: TileT
Inherited from:
OfTile
Inherited from:
OfTile
Inherited from:
OfTile
Inherited from:
OfGridElem
Inherited from:
OfGridElem