You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
710 B

package app;
import javafx.application.Application;
import javafx.stage.Stage;
import mock.app.Event;
import java.util.logging.Level;
import java.util.logging.Logger;
public class App extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) {
try {
//TODO should read a configuration file to configure server?
Event raceEvent = new Event(false, 0);
} catch (Exception e) {
//Catch all exceptions, print, and exit.
Logger.getGlobal().log(Level.SEVERE, "Could not start dedicated server!", e);
System.exit(1);
}
}
}