From 23f37f8ae3596e0302bac603679cea15067eab06 Mon Sep 17 00:00:00 2001
From: Floris <f.k.h.vandezande@students.uu.nl>
Date: Wed, 20 Nov 2024 12:31:19 +0100
Subject: [PATCH] added comments

ja
---
 PuzzlePlayer/PuzzleForm.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PuzzlePlayer/PuzzleForm.cs b/PuzzlePlayer/PuzzleForm.cs
index 5f8df87..7b315dc 100644
--- a/PuzzlePlayer/PuzzleForm.cs
+++ b/PuzzlePlayer/PuzzleForm.cs
@@ -17,7 +17,7 @@ namespace PuzzlePlayer_Namespace
         private Label boardlabel;
         private TextBox informationbox;
         public Graphics graphics;
-        public Board board
+        public Board board //Updating the Board member will immediately call board.Draw method so that the board is updated visually
         {
             get { return board; }
             set
@@ -27,7 +27,7 @@ namespace PuzzlePlayer_Namespace
             }
         }
 
-        public PuzzleForm(Board b = null, Size s = default(Size))
+        public PuzzleForm(Board b = null, Size s = default(Size)) //Takes Board and Size parameter and sets up the PuzzleForm window.
         {
             if (s == default(Size)) s = new Size(800, 500);
             this.Size = s;
-- 
GitLab