Class FinishScreen

java.lang.Object
net.vincent.parkourwarrior.FinishScreen

public class FinishScreen extends Object
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 Details

    • FinishScreen

      public FinishScreen(ParkourMain parkourMain)
      Constructs a new FinishScreen with a reference to the main game panel.
      Parameters:
      parkourMain - the main game panel instance
      Since:
      1.2
  • Method Details

    • drawFinishScreen

      public void drawFinishScreen(Graphics2D graphics2D)
      Draws the finish screen.

      Renders the background image, congratulatory message, completion time, and navigation instructions.

      Parameters:
      graphics2D - the Graphics2D context to draw on
      Since:
      1.2