adding buttons and labels for the GUI
main
dustineversmann 2024-05-06 19:26:51 +02:00
parent 94c756095e
commit cffcf6237d
1 changed files with 8 additions and 2 deletions

View File

@ -1,13 +1,19 @@
package src;
import javax.swing.JPanel;
import javax.swing.*;
public class GameView extends JPanel {
private GameController controller;
private JLabel[] diceLabels;
private JButton rollButton;
private JButton submitScoreButton;
private JTextArea scoreArea;
private JTextField playerNameInput;
private JButton addPlayerButton;
public GameView(GameController controller) {
this.controller = controller;
}
}