Coords

object Coords
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def add(a: Coords, b: Coords): Coords
def fromIndex(index: Int, gridWidth: Int): Coords
def toGridPosition(coords: Coords, gridWidth: Int): Int