git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@184 72836036-5685-4462-b002-a69064685172
36 lines
650 B
Java
36 lines
650 B
Java
package jrummikub;
|
|
|
|
import javax.swing.UIManager;
|
|
|
|
import jrummikub.control.RoundControl;
|
|
import jrummikub.model.GameState;
|
|
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) {
|
|
}
|
|
|
|
GameState gameState = new GameState();
|
|
View view = new View();
|
|
|
|
RoundControl roundControl = new RoundControl(gameState, view);
|
|
roundControl.startRound();
|
|
|
|
}
|
|
|
|
}
|