Updated maven version to 2.0.

Added a dedicatedServer module.
Removed Visualiser module.
Removed mock module.
Removed network module.
Fixed weird exception non-handling that appeared for some reason.
This commit is contained in:
fjc40
2017-08-18 22:55:50 +12:00
parent 0d2be85d17
commit a9fde95b39
44 changed files with 63 additions and 2022 deletions
@@ -0,0 +1,36 @@
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);
} catch (Exception e) {
//Catch all exceptions, print, and exit.
Logger.getGlobal().log(Level.SEVERE, "Could not start dedicated server!", e);
System.exit(1);
}
}
}