A factory method for Rectangular Fields
A factory method for Rectangular Fields
3.0.0
A factory method for Rectangular Fields
A factory method for Rectangular Fields
It will convert the locations in the array to indexies by using the inner array as the first dimension and the outer array as the first dimension.
It sounds wierd, but it matches the most common ways of making a Seq[Seq[_]]. Both OpenCSV and direct inline have this endianess.
An example is, given the below sequence, g
would be be considered
at index (0, 2) by this function. Even though normally, that element
would be accessed by (2)(0).
Seq( Seq( a, b, c ), Seq( d, e, f ), Seq( g, h, i ) )
the Space Classes making up the field
3.0.0
A RectangularField is a set of com.rayrobdod.boardGame.RectangularSpaces, such that each space is connected to adjacent spaces Ecludian-geometry wise.
3.0.0
com.rayrobdod.boardGame.RectangularSpace