Skip to content
LielVaknin edited this page Dec 20, 2020 · 4 revisions

The graphical user interface is responsible for visually displaying the game board and the Login window.

There are 3 classes in the Gui package:

Frame class - Displays the gamePanel.

loginPanel class - Displays the login window of the game.

gamePanel class - Displays the game arena window.

  • void update(int score) - In Frame class there is an update method which updates the frame during the game all the time.

Constructors

  • Frame class - Frame(Arena arena).
  • loginPanel class - loginPanel().
  • gamePanel class - gamePanel(Arena arena).
Clone this wiki locally