public class AnimateEventDiceRoll extends AnimateEvent
AnimateEvent.Type
Modifier and Type | Field and Description |
---|---|
int[] |
dice |
static int |
SIZE |
static int |
XL |
static int |
XR |
static int |
Y |
offset, who
Constructor and Description |
---|
AnimateEventDiceRoll() |
Modifier and Type | Method and Description |
---|---|
int[] |
getDiceParms(int miniX0,
int miniX1,
int miniY,
int miniSize,
int x0,
int x1,
int y,
int dieSize)
Set the start and end points for this dice animation
|
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?
|
getOffset, getWho, setOffset, setWho
public static final int XL
public static final int XR
public static final int Y
public static final int SIZE
public int[] dice
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[] getDiceParms(int miniX0, int miniX1, int miniY, int miniSize, int x0, int x1, int y, int dieSize)
miniX0
- miniX1
- miniY
- miniSize
- x0
- x1
- y
- dieSize
-