Package curve.control
Class G
java.lang.Object
curve.control.G
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGRID_DOT to point to Grid class object;static final intGRID_EMPTYstatic intGrid Step Size Xstatic intGrid Step Size Ystatic intNumber of horizontal pixels in the backing matrixstatic intlowestColourID follows special id's relating to grid and hoopstatic final intMAX_COLOUR_OBJECTS - linwa and areasstatic intsearchDistance relates to pixels on displaystatic intNumber of vertical pixels in the backing matrixstatic final intX_PIVOTstatic final intY_PIVOT -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GRID_EMPTY
public static final int GRID_EMPTYGRID_EMPTY- See Also:
-
GRID_DOT
public static final int GRID_DOTGRID_DOT to point to Grid class object;- See Also:
-
MAX_COLOUR_OBJECTS
public static final int MAX_COLOUR_OBJECTSMAX_COLOUR_OBJECTS - linwa and areas- See Also:
-
horPixels
public static int horPixelsNumber of horizontal pixels in the backing matrix
Use int to index into table
-
verPixels
public static int verPixelsNumber of vertical pixels in the backing matrix -
gridStepX
public static int gridStepXGrid Step Size X
divide by scale when drawing on the board
todo keep grid size constant on display screen with different scales
-
gridStepY
public static int gridStepYGrid Step Size Y
multiply by scale when drawing on the board
-
lowestColourID
public static int lowestColourIDlowestColourID follows special id's relating to grid and hoop -
searchDistance
public static int searchDistancesearchDistance relates to pixels on display
need to multiply by scale when ckecking the board todo
-
Y_PIVOT
public static final int Y_PIVOTY_PIVOT- See Also:
-
X_PIVOT
public static final int X_PIVOTX_PIVOT- See Also:
-
-
Constructor Details
-
G
public G()default constructor not used
-