Created application main panel and separated Controller class
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user