StatusPanelAdder
This commit is contained in:
1 parent
64e36530a5
commit
abef4c99f2
1 file changed
+2
-2
@@ -21,7 +21,7 @@ public class StatusPanelAdder{
|
||||
private Temperature temp;
|
||||
private Score score;
|
||||
private Timer timer;
|
||||
public static JPanel panel;
|
||||
private static JPanel panel;
|
||||
|
||||
public int getTemp(){
|
||||
return temp.getTemp();
|
||||
@@ -33,7 +33,7 @@ public class StatusPanelAdder{
|
||||
return timer.getTime();
|
||||
}
|
||||
|
||||
public void setPanel(JPanel panel){
|
||||
public static void setPanel(JPanel panel){
|
||||
this.panel=panel;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user