OfGridElem

trait OfGridElem[TileT <: TileAncient, SideT <: TileSideAncient, GridT <: TileGridAncient[TileT, SideT]]

To be removed. Although including the cood could be considered to break the principle of encapsulation, A tile should not need to know where it is in a grid. I think it is necessary. Although the cood is determined by its position in the array there is just no good way for this data to be recovered by the Grid for random access. I think also it might be better to change to a var.

class Object
trait Matchable
class Any
trait OfEElem[TileT, SideT]
class OfESide[TileT, SideT]
class OfETile[TileT, SideT]
trait OfSide[TileT, SideT, GridT]
trait OfHexSide[TileT, SideT, GridT]
trait OfTile[TileT, SideT, GridT]
trait OfHex[TileT, SideT, GridT]

Value members

Abstract methods

def cood: Cood
def coodToDispVec2(inp: Cood): Pt2
def grid: GridT
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

Concrete methods

def ifScaleCObj(ifScale: Double, cObj: GraphicElem*): GraphicElems
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.

def ifScaleIfCObj(ifScale: Double, b: Boolean, cObjs: GraphicElem*): GraphicElems
def ifScaleOptObjs[A >: Null <: AnyRef](ifScale: Double, eA: OptRef[A])(f: A => GraphicElems): GraphicElems
def tScale: Double

The number of pixels per tile, centre to centre

The number of pixels per tile, centre to centre

def xyStr: String
def yxStr: String