SqCenArr

final class SqCenArr[A <: AnyRef](val unsafeArray: Array[A]) extends AnyVal with TileCenArr[A]

An array of hex tile or hex centre data.

Companion:
object
trait TileCenArr[A]
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def apply(sc: SqCen)(implicit grid: SqGrid): A

Inherited methods

def foreach[U](f: A => U): Unit

For each element in the underlying array performs the side effecting function. This method treats the TileCenArr class like a standard Arr or Array. It does not utilise the grid TGrid from which this TileCenArr was created.

For each element in the underlying array performs the side effecting function. This method treats the TileCenArr class like a standard Arr or Array. It does not utilise the grid TGrid from which this TileCenArr was created.

Inherited from:
TileCenArr
final def length: Int

The number of tile centres this array of data represents.

The number of tile centres this array of data represents.

Inherited from:
TileCenArr
def map[B, BB <: SeqImut[B]](f: A => B)(implicit build: ArrBuilder[B, BB]): BB

Each element in the underlying array is mapped by the parameter function to an element of type B. This method treat the HCenArr class like a standard Arr or Array. It does not utilise the grid HGrid from which this HCenArr was created.

Each element in the underlying array is mapped by the parameter function to an element of type B. This method treat the HCenArr class like a standard Arr or Array. It does not utilise the grid HGrid from which this HCenArr was created.

Inherited from:
TileCenArr
final def mutSetAll(value: A): Unit

Set all tiles to the given value.

Set all tiles to the given value.

Inherited from:
TileCenArr

Concrete fields

val unsafeArray: Array[A]