Closed Kacper3331 closed 6 years ago
@unijewski, @sulo61, @job-lukasz, @tinamou could you look at my pull request. I really don't know if what I did is correct or not. That's why I will be really grateful If you could tell me what is wrong. If everything is wrong then I will start over.
Maybe instead of static field you can create instance of GuiOptions
and pass it into every view which require it.
Could you give me example how to do it in command line? I'm afraid that I will screw up something.
@Kacper3331 you already have PR :) Sorry for disturbing
@Kacper3331 my propositions:
GameOptions
(most probably in Bridge
)GuiOptions
, SaperGui
) instead of passing sizeX
, sizeY
, mines
paste instance of GameOptions
Other improvements:
GuiOptions
right now has public fields, try to use getters and setters insteadGuiOptions
for SaperGui
, and read-write access for GuiOptions
Kacper, I've done some changes that you asked me to. Perhaps it will help.
:+1:
I'm sorry that I made one branch to two Issues but I was working on Issue#28 and somehow started to work on second.