game-controller-adjustments #11
|
@ -10,6 +10,15 @@ import java.util.Map;
|
|||
|
||||
public class GameController {
|
||||
|
||||
private static MainFrame mainFrame;
|
||||
|
||||
public static MainFrame getMainFrame() {
|
||||
return GameController.mainFrame;
|
||||
}
|
||||
public static void setMainFrame(MainFrame mainFrame) {
|
||||
GameController.mainFrame = mainFrame;
|
||||
}
|
||||
|
||||
// Connection timeout for client sockets in milliseconds
|
||||
public static final int CONNECTION_TIMEOUT = 10 * 1000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue