PolygonHC

Companion object for the polygon whose vertices are defined by hex tile coordinates PolygonHC trait.

Companion
class

Value members

Concrete methods

override
def fromArray(array: Array[Int]): PolygonHC
Definition Classes

Inherited methods

def apply(elems: HCoord*): PolygonHC

Apply factory method

Apply factory method

Inherited from
DataInt2sCompanion
final
def dataGenMap[T](alb: DataGen[T])(f: T => HCoord): PolygonHC

This method allows you to map from a DataGen to the ArrA type.

This method allows you to map from a DataGen to the ArrA type.

Inherited from
DataValueNsCompanion
override
def elemProdSize: Int
def fromBuffer(buff: ArrayBuffer[Int]): PolygonHC

This method allows a flat Array[Int] based collection class of type M, the final type, to be created from an ArrayBuffer[Int].

This method allows a flat Array[Int] based collection class of type M, the final type, to be created from an ArrayBuffer[Int].

Inherited from
DataIntNsCompanion

Implicits

Inherited implicits

implicit override
def uninitialised(length: Int): PolygonHC

returns a collection class of type ArrA, whose backing Array[Int] is uninitialised.

returns a collection class of type ArrA, whose backing Array[Int] is uninitialised.

Definition Classes
Inherited from
DataIntNsCompanion