Class FinishScreen
java.lang.Object
net.vincent.parkourwarrior.FinishScreen
Finish screen class for Parkour Warrior.
This class handles the rendering of the finish screen, displayed when the player completes a map. It shows a congratulatory message along with the completion time.
- Since:
- 1.2
-
Constructor Summary
ConstructorsConstructorDescriptionFinishScreen(ParkourMain parkourMain) Constructs a newFinishScreenwith a reference to the main game panel. -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawFinishScreen(Graphics2D graphics2D) Draws the finish screen.
-
Constructor Details
-
FinishScreen
Constructs a newFinishScreenwith a reference to the main game panel.- Parameters:
parkourMain- the main game panel instance- Since:
- 1.2
-
-
Method Details
-
drawFinishScreen
Draws the finish screen.Renders the background image, congratulatory message, completion time, and navigation instructions.
- Parameters:
graphics2D- theGraphics2Dcontext to draw on- Since:
- 1.2
-