public class EndCreditScreen
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUTTON_H
The height of the button to return to the end screen
|
static int |
BUTTON_W
The width of the button to return to the end screen
|
static int |
BUTTON_X
The x position of the button to return to the end screen
|
static int |
BUTTON_Y
The y position of the button to return to the end screen
|
static int |
END_CREDIT_BACKGROUND_H
The height of the screen
|
static int |
END_CREDIT_BACKGROUND_W
The width of the screen
|
static int |
END_CREDIT_BACKGROUND_X
The x position for the screen on the JPanel window
|
static int |
END_CREDIT_BACKGROUND_Y
The y position for the screen on the JPanel window
|
static int |
MAIN_TEXT_X
The x position of the main text on the screen
|
static int |
RETURN_OFFSET_X
The x offset for the text within the return button
|
static int |
RETURN_OFFSET_Y
The y offset for the text within the return button
|
static int |
SUB_TEXT_X
The x position of the description text on the screen
|
| Constructor and Description |
|---|
EndCreditScreen()
The default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
paint(java.awt.Graphics g)
Draws the UI of the end credit screen
|
public static final int END_CREDIT_BACKGROUND_X
public static final int END_CREDIT_BACKGROUND_Y
public static final int END_CREDIT_BACKGROUND_W
public static final int END_CREDIT_BACKGROUND_H
public static final int BUTTON_W
public static final int BUTTON_H
public static final int BUTTON_X
public static final int BUTTON_Y
public static final int MAIN_TEXT_X
public static final int SUB_TEXT_X
public static final int RETURN_OFFSET_Y
public static final int RETURN_OFFSET_X