GridPos

o1.grid.GridPos$
See theGridPos companion class
object GridPos

This companion object of class GridPos provides a couple of utility methods.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any

Members list

Inherited Not inherited
  • Not inherited
  • Mirror

Type members

Value members

Concrete methods

Returns a randomly constructed GridPos whose x and y are between the given minima (inclusive) and maxima (exclusive).

Returns a randomly constructed GridPos whose x and y are between the given minima (inclusive) and maxima (exclusive).

Returns a randomly constructed GridPos whose x and y are between the given minimum (inclusive) and maximum (exclusive). The limits for x and y are the same.

Returns a randomly constructed GridPos whose x and y are between the given minimum (inclusive) and maximum (exclusive). The limits for x and y are the same.