SqGridsAdjPair
A simple development class of 2 square grids. Probably not a useful class for an application but a stage on the evolution of more exotic classes.
Attributes
- Graph
-
- Supertypes
-
trait SqGridMultitrait TGridMultitrait SqGridSystrait TGridSystrait TCenStructclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
The type of the tile grids within this tile grid system.
Value members
Concrete methods
The bottom most point in the grid where the value of y is minimum.
The bottom most point in the grid where the value of y is minimum.
Attributes
- Definition Classes
Gives a flat projection of SqCoords to Pt2s. For a simple singular SqGrid system this is all that is required to translate between grid coordinates and standard 2 dimensional space. For multi grids it provides a simple way to display all the tiles in the grid system, but a more complex projection may be required for fully meaningful display representation. For Example world grid systems and multi layer square tile games will require their own specialist projections.
Gives a flat projection of SqCoords to Pt2s. For a simple singular SqGrid system this is all that is required to translate between grid coordinates and standard 2 dimensional space. For multi grids it provides a simple way to display all the tiles in the grid system, but a more complex projection may be required for fully meaningful display representation. For Example world grid systems and multi layer square tile games will require their own specialist projections.
Attributes
- Definition Classes
The grids of this tile grid system.
The left most point in the grid where x is minimum.
The right most point in the grid where the value of x is maximum.
The right most point in the grid where the value of x is maximum.
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
The active tiles without any PaintElems.
flatMaps over each r row coordinate number.
maps over each r row coordinate number.
For each row of tiles performs side effecting function on the r coordinate of the row.
For each row of tiles performs side effecting function on the r coordinate of the row.
Attributes
- Definition Classes
- Inherited from:
- TGridMulti
The centre point as a Vec2. Not sure why this id implemented here.
The centre point as a Vec2. Not sure why this id implemented here.
Attributes
- Inherited from:
- TGridSys
Gives the default view in terms of SqCoord focus and scaling of this square grid system.
Gives the default view in terms of SqCoord focus and scaling of this square grid system.
Attributes
- Definition Classes
- Inherited from:
- SqGridMulti
Attributes
- Definition Classes
- Inherited from:
- SqGridMulti
Attributes
- Inherited from:
- TGridSys
Height of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Height of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Attributes
- Inherited from:
- TGridSys
Maps over the SqCen hex centre tile coordinates. B is used rather than A as a type parameter, as this method maps from SqCen => B, corresponding to the standard Scala map function of A => B.
New Square tile data grid for this Square grid system.
Creates a new SqCenBuffLayer. A [[SqCen] square tile centre corresponding Arr of empty ArrayBuffers of the given or inferred type.
Creates a new SqCenBuffLayer. A [[SqCen] square tile centre corresponding Arr of empty ArrayBuffers of the given or inferred type.
Attributes
- Inherited from:
- SqGridSys
New Square tile centre data Square grid.
Number of rows of tile centres. This will be different to the number of rows of sides and and will be different to the number of rows of vertices for HexGrids.
Number of rows of tile centres. This will be different to the number of rows of sides and and will be different to the number of rows of vertices for HexGrids.
Attributes
- Inherited from:
- TGridMulti
Attributes
- Inherited from:
- SqGridSys
foreach Hex side's coordinate HSide, calls the effectual function.
foreach Hex side's coordinate HSide, calls the effectual function.
Attributes
- Inherited from:
- SqGridSys
Attributes
- Definition Classes
- Inherited from:
- SqGridMulti
Attributes
- Inherited from:
- SqGridSys
Finds the end from an SqStepLike.
Width of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Width of the tile grid system from furthest tile edge or vertex to furthest tile edge or vertex.
Attributes
- Inherited from:
- TGridSys
C coordinates match 1 to 1 to x coordinates for square grids.
C coordinates match 1 to 1 to x coordinates for square grids.
Attributes
- Definition Classes
- Inherited from:
- SqGridSys