+ Core core = new Core();
+ Interface gui = getInterface();
+ core.addCoreListener(gui);
+ gui.start();
+ }
+
+ //
+ // PRIVATE METHODS
+ //
+
+ /**
+ * Returns the interface to use.
+ *
+ * @return The interface to use
+ */
+ private static Interface getInterface() {
+ return new SwingInterface();