git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@251 72836036-5685-4462-b002-a69064685172
36 lines
661 B
Java
36 lines
661 B
Java
package jrummikub;
|
|
|
|
import javax.swing.UIManager;
|
|
|
|
import jrummikub.control.GameControl;
|
|
import jrummikub.model.GameSettings;
|
|
import jrummikub.view.impl.View;
|
|
|
|
/**
|
|
* The main class
|
|
*/
|
|
public class JRummikub {
|
|
|
|
/**
|
|
* The main method
|
|
*
|
|
* @param args
|
|
* command line arguments
|
|
*/
|
|
public static void main(String[] args) {
|
|
String nativeLF = UIManager.getSystemLookAndFeelClassName();
|
|
|
|
try {
|
|
UIManager.setLookAndFeel(nativeLF);
|
|
} catch (Exception e) {
|
|
}
|
|
|
|
GameSettings gameSettings = new GameSettings();
|
|
View view = new View();
|
|
|
|
GameControl gameControl = new GameControl(gameSettings, view);
|
|
gameControl.startGame();
|
|
|
|
}
|
|
|
|
}
|