OfETile

class OfETile[TileT <: TileAncient, SideT <: TileSideAncient](val eg: EarthGuiOld, val eGrid: EGridAncient[TileT, SideT], val tile: TileT) extends OfHex[TileT, SideT, EGridAncient[TileT, SideT]] with OfEElem[TileT, SideT]

A stand OfTile maps from Grid Coordinates to map Vec2 and then to display Vec2. This maps from Grid Coordinate to Dist2 to Vec2

trait OfEElem[TileT, SideT]
trait OfHex[TileT, SideT, EGridAncient[TileT, SideT]]
trait OfTile[TileT, SideT, EGridAncient[TileT, SideT]]
trait OfGridElem[TileT, SideT, EGridAncient[TileT, SideT]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def cen: Pt2
def cenFacing: Boolean
override def vertDispVecs: PolygonImp
Definition Classes

Inherited methods

final def cood: Cood
Inherited from
OfTile
override def coodToDispVec2(inp: Cood): Pt2
Definition Classes
Inherited from
OfEElem
Inherited from
OfEElem
Inherited from
OfEElem
override def grid: EGridAncient[TileT, SideT]
Definition Classes
Inherited from
OfEElem
Inherited from
OfEElem
def ifScaleCObj(ifScale: Double, cObj: GraphicElem*): GraphicElems
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
def ifScaleIfCObj(ifScale: Double, b: Boolean, cObjs: GraphicElem*): GraphicElems
Inherited from
OfGridElem
def ifScaleOptObjs[A >: Null <: AnyRef](ifScale: Double, eA: OptRef[A])(f: A => GraphicElems): GraphicElems
Inherited from
OfGridElem
override def ownSideLines: LineSegs
Definition Classes
Inherited from
OfHex
override def psc: Double
Definition Classes
Inherited from
OfEElem
Inherited from
OfHex
Inherited from
OfHex
Inherited from
OfHex
def tScale: Double

The number of pixels per tile, centre to centre

The number of pixels per tile, centre to centre

Inherited from
OfGridElem
Inherited from
OfTile
def xyStr: String
Inherited from
OfGridElem
def yxStr: String
Inherited from
OfGridElem

Concrete fields

val eGrid: EGridAncient[TileT, SideT]
val tile: TileT