public class MoveFlasher extends AnimateEventMove
AnimateEvent.Type
ANIMATE_FLASHER, ANIMATE_SPLINE2D, boardPane, bs, checkerNumberEnd, checkerNumberStart, pointNumberEnd, pointNumberStart, x, y
offset, who
Constructor and Description |
---|
MoveFlasher() |
Modifier and Type | Method and Description |
---|---|
void |
calculate() |
java.awt.Color |
getColor(double offset) |
int[] |
getXY(double offset)
Alternate displaying the start and end positions, 4 flashes per cycle (2 each checker)
0 -> 1 = start, end, start, end.
|
getCheckerYInHome, getCheckerYOnBar, getDuration, getNthCheckerY, getPointX, getType, isGui, setBoardPane, setEndPointAndOffset, setStartPointAndOffset
getOffset, getWho, setOffset, setWho
public void calculate()
calculate
in class AnimateEventMove
public int[] getXY(double offset)
getXY
in class AnimateEventMove
public java.awt.Color getColor(double offset)
getColor
in class AnimateEventMove