public class AnimateEventPleaseAcceptOrRejectDouble extends AnimateEventDouble
AnimateEvent.Type
boardPane, bs, whoDoubled, x, y
offset, who
Constructor and Description |
---|
AnimateEventPleaseAcceptOrRejectDouble()
Only constructor
|
Modifier and Type | Method and Description |
---|---|
void |
calculate(Board board) |
int |
getDuration()
Get the number of milliseconds to execute this AnimateEvent
|
AnimateEvent.Type |
getType()
Get the
AnimateEvent.Type of this AnimateEvent |
int[] |
getXY(double offset) |
boolean |
isGui()
Is this a Gui event? That is, is the game waiting for user input?
|
void |
setGui(boolean isGui) |
getCubeAfter, getCubeBefore, getDoubleCubePushXY, getDoubleCubeWidth, getDoubleCubeXY, getNthCheckerY, getPointX, getWhoDoubled, setBoardPane, setCubeBefore, setWhoDoubled
getOffset, getWho, setOffset, setWho
public AnimateEventPleaseAcceptOrRejectDouble()
public int getDuration()
AnimateEvent
getDuration
in class AnimateEventDouble
public AnimateEvent.Type getType()
AnimateEvent
AnimateEvent.Type
of this AnimateEventgetType
in class AnimateEventDouble
public boolean isGui()
AnimateEvent
isGui
in class AnimateEventDouble
public void setGui(boolean isGui)
public void calculate(Board board)
calculate
in class AnimateEventDouble
public int[] getXY(double offset)
getXY
in class AnimateEventDouble