HexGet

object HexGet
class Object
trait Matchable
class Any

Value members

Concrete methods

def altXByY(upperX: Int, upperY: Int): Seq[Cood]
def apply(lowerX: Int, upperX: Int, lowerY: Int, upperY: Int): Seq[Cood]

Produces grid of hexs. The actual X coordinates will be multiplied by factor of 2 the y coordinates by factor of 2. if upperX is less than lowerX or upperY is less than lower Y the Gird will be empty. If lowerX == upperX and lowerY == UpperY and one of x and y are odd the grid will be empty

Produces grid of hexs. The actual X coordinates will be multiplied by factor of 2 the y coordinates by factor of 2. if upperX is less than lowerX or upperY is less than lower Y the Gird will be empty. If lowerX == upperX and lowerY == UpperY and one of x and y are odd the grid will be empty

def row(y: Int, x1: Int, x2: Int): Seq[Cood]
def row21(lowerX: Int, upperX: Int, lowerY: Int, upperY: Int): (Int, Int, Int, Int)

Alternative Hex Grid rows -2, 1; 2, 1; 6, 1;

Alternative Hex Grid rows -2, 1; 2, 1; 6, 1;

def row22Bounds(lowerX: Int, upperX: Int, lowerY: Int, upperY: Int): (Int, Int, Int, Int)

Hex Grid rows for coordinates: -2, 2; 2; 2; 6, 2; -2, 6; 2, 6; 6, 6

Hex Grid rows for coordinates: -2, 2; 2; 2; 6, 2; -2, 6; 2, 6; 6, 6

def row23(lowerX: Int, upperX: Int, lowerY: Int, upperY: Int): (Int, Int, Int, Int)

Alternative Hex Grid rows -2, 3; 2, 3; 6, 3;

Alternative Hex Grid rows -2, 3; 2, 3; 6, 3;

def row24Bounds(lowerX: Int, upperX: Int, lowerY: Int, upperY: Int): (Int, Int, Int, Int)

Hex Grid rows for coordinates: -2, 4; 2; 4; 6, 4; -2, 8; 2, 8; 6, 8

Hex Grid rows for coordinates: -2, 4; 2; 4; 6, 4; -2, 8; 2, 8; 6, 8

def withSides(lowerX: Int, upperX: Int, lowerY: Int, upperY: Int): (Seq[Cood], Seq[Cood])
def xByY(upperX: Int, upperY: Int): Seq[Cood]
def xByYWithSides(upperX: Int, upperY: Int): (Seq[Cood], Seq[Cood])