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 gridHeadsFlatMap[BB <: ArrBase[_]](f: (Roord, A) => BB)(implicit grid: TileGridOld, build: ArrFlatBuilder[BB]): BB
Implicitly added by TilesListImplicit
def gridHeadsMap[B, BB <: ArrBase[B]](f: (Roord, A) => B)(implicit grid: TileGridOld, build: ArrBuilder[B, BB]): BB
Implicitly added by TilesListImplicit
def length: Int
def mutSetAll(value: A): Unit
def prepend(y: Int, c: Int, value: A)(implicit grid: TileGridOld): Unit
Implicitly added by TilesListImplicit
def prepend(roord: Roord, value: A)(implicit grid: TileGridOld): Unit
Implicitly added by TilesListImplicit
def prependAt(y: Int, c: Int, value: A)(implicit grid: TileGridOld): Unit
Implicitly added by TilesListImplicit
def prependAt(roord: Roord, value: A)(implicit grid: TileGridOld): Unit
Implicitly added by TilesListImplicit
def prependAts(value: A, roords: Roord*)(implicit grid: TileGridOld): Unit
Implicitly added by TilesListImplicit
def prepends(value: A, roords: Roord*)(implicit grid: TileGridOld): Unit
Implicitly added by TilesListImplicit
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]