Skip to content
Snippets Groups Projects
Commit 23f37f8a authored by Floris's avatar Floris
Browse files

added comments

ja
parent b5d4f9b9
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ namespace PuzzlePlayer_Namespace ...@@ -17,7 +17,7 @@ namespace PuzzlePlayer_Namespace
private Label boardlabel; private Label boardlabel;
private TextBox informationbox; private TextBox informationbox;
public Graphics graphics; 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; } get { return board; }
set set
...@@ -27,7 +27,7 @@ namespace PuzzlePlayer_Namespace ...@@ -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); if (s == default(Size)) s = new Size(800, 500);
this.Size = s; this.Size = s;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment