public class ShakeWindow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
SHAKE_CYCLE |
static int |
SHAKE_DISTANCE |
static int |
SHAKE_DURATION |
static int |
SHAKE_UPDATE |
Constructor and Description |
---|
ShakeWindow(java.awt.Window d) |
Modifier and Type | Method and Description |
---|---|
void |
startRandomMovement(int seconds)
punishes the User by moving the Chatwindow around for 10 seconds
|
void |
startShake() |
void |
stopShake() |
public static final int SHAKE_DISTANCE
public static final double SHAKE_CYCLE
public static final int SHAKE_DURATION
public static final int SHAKE_UPDATE