From cffcf6237dd322d6589a8e6a91d7df67280d866d Mon Sep 17 00:00:00 2001 From: dustineversmann Date: Mon, 6 May 2024 19:26:51 +0200 Subject: [PATCH] feat: adding buttons and labels for the GUI --- src/GameView.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/GameView.java b/src/GameView.java index dd6575d..16eaf9d 100644 --- a/src/GameView.java +++ b/src/GameView.java @@ -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; - } }