public class AnimateEventResign extends AnimateEvent
AnimateEvent.Type
Modifier and Type | Field and Description |
---|---|
static int |
HEIGHT |
static int |
WIDTH |
static int |
X |
static int |
Y |
offset, who
Constructor and Description |
---|
AnimateEventResign() |
Modifier and Type | Method and Description |
---|---|
int |
getDuration()
Get the number of milliseconds to execute this AnimateEvent
|
int[] |
getFlagParms(int miniX,
int miniY,
int miniSize,
int x,
int y,
int flagSize)
Set the start and end points for this dice animation
|
javax.swing.ImageIcon |
getIcon()
Get the icon for this animation
|
int |
getResigningPoints()
Get how many points this resign event is for
|
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 |
setIcon(javax.swing.ImageIcon imageIcon)
Set the icon that this animation will use
|
void |
setResigningPoints(int resigningPoints)
Set how many points this resign event is for
|
getOffset, getWho, setOffset, setWho
public static final int X
public static final int Y
public static final int WIDTH
public static final int HEIGHT
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 javax.swing.ImageIcon getIcon()
public void setIcon(javax.swing.ImageIcon imageIcon)
imageIcon
- the imageIcon to setpublic int getResigningPoints()
public void setResigningPoints(int resigningPoints)
resigningPoints
- the resigningPoints to setpublic int[] getFlagParms(int miniX, int miniY, int miniSize, int x, int y, int flagSize)
miniX
- miniY
- miniSize
- x
- y
- flagSize
-