Created application main panel and separated Controller class

This commit is contained in:
gac-S_Changer
2018-01-10 11:21:06 +01:00
parent c4ce826ae8
commit 9c5a74d2a8
8 changed files with 294 additions and 146 deletions

View File

@@ -18,10 +18,10 @@ public class PuckState {
}
BasePlate getBasePlate() {
if (MainPanel.getInstance() == null) {
if (Controller.getInstance() == null) {
return null;
}
return MainPanel.getInstance().basePlate;
return Controller.getInstance().basePlate;
}
void clear() {