TilesArr

class TilesArr[A <: AnyRef](val unsafeArr: Array[A])

An immutable Arr of Tile data for a specific TileGrid. This is specialised for AnyRef types The tileGrid can map the Roord of the Tile to the index of the Arr. Hence most methods take an implicit TIleGrid parameter.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(roord: Roord)(implicit grid: TileGridOld): A
def apply(y: Int, c: Int)(implicit grid: TileGridOld): A
def foreach(f: (Roord, A) => Unit)(implicit grid: TileGridOld): Unit
def length: Int
def mutSetAll(value: A): Unit
final def setColumn(c: Int, yStart: Int, tileMakers: Multiple[A]*)(implicit grid: TileGridOld): Roord
final def setColumn(roordStart: Roord, multis: Multiple[A]*)(implicit grid: TileGridOld): Roord
final def setColumnDown(c: Int, yStart: Int, tileMakers: Multiple[A]*)(implicit grid: TileGridOld): Roord
def setColumnDown(roordStart: Roord, tileValues: Multiple[A]*)(implicit grid: TileGridOld): Roord
final def setRow(roord: Roord, tileValues: Multiple[A]*)(implicit grid: TileGridOld): Roord

Set tile row from the Roord.

Set tile row from the Roord.

final def setRow(yRow: Int, cStart: Int, tileValues: Multiple[A]*)(implicit grid: TileGridOld): Roord

Note set Row starts with the y (row) parameter.

Note set Row starts with the y (row) parameter.

final def setRowBack(yRow: Int, cStart: Int, tileMakers: Multiple[A]*)(implicit grid: TileGridOld): Roord

Note set RowBack starts with the y (row) parameter

Note set RowBack starts with the y (row) parameter

final def setRowBack(roord: Roord, tileValues: Multiple[A]*)(implicit grid: TileGridOld): Roord
def setTerrPath(startRoord: Roord, value: A, dirns: Multiple[PathDirn]*)(implicit grid: SquareGridSimpleOld): Roord
def sqGridSetRect(yFrom: Int, yTo: Int, cFrom: Int, cTo: Int, tileValue: A)(implicit grid: SquareGridSimpleOld): Unit

Sets a rectangle of tiles to the same terrain type.

Sets a rectangle of tiles to the same terrain type.

def sqSetAllOfRow(y: Int, tileMakers: Multiple[A]*)(implicit grid: SquareGridSimpleOld): Unit

Concrete fields

val unsafeArr: Array[A]