public class AnimateEventPleaseMove extends AnimateEvent
AnimateEvent.Type
offset, who
Constructor and Description |
---|
AnimateEventPleaseMove()
Only constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getCheckersToMove() |
int[] |
getDice() |
int |
getDuration()
Get the number of milliseconds to execute this AnimateEvent
|
AnimateEvent.Type |
getType()
Get the
AnimateEvent.Type of this AnimateEvent |
boolean |
isGui()
Is this a Gui event? That is, is the game waiting for user input?
|
void |
setCheckersToMove(int checkersToMove) |
void |
setDice(int[] dice)
Set the dice to be used in this move.
|
getOffset, getWho, setOffset, setWho
public int getDuration()
AnimateEvent
getDuration
in class AnimateEvent
public AnimateEvent.Type getType()
AnimateEvent
AnimateEvent.Type
of this AnimateEventgetType
in class AnimateEvent
public boolean isGui()
AnimateEvent
isGui
in class AnimateEvent
public int[] getDice()
public void setDice(int[] dice)
dice
- the dice to setpublic int getCheckersToMove()
public void setCheckersToMove(int checkersToMove)
checkersToMove
- the checkersToMove to set