de.htwdd.rosenkoenig
Class Rosenkoenig

java.lang.Object
  extended by de.htwdd.rosenkoenig.Rosenkoenig

public class Rosenkoenig
extends java.lang.Object

This class defines the Rosenkoenig main window and contains a main method to start Rosenkoenig.


Field Summary
static java.lang.String BASE_DIR
           
private  Game game
           
private static int GC_CYCLES
           
private  GenutsGUI gui
           
private  org.apache.log4j.Logger log
           
static java.lang.String PLAYER_DIR
           
private  java.awt.Frame window
           
 
Constructor Summary
Rosenkoenig()
          Creates the Rosenkoenig main window.
 
Method Summary
private  void configureGame()
          Shows the configuration dialog to allow the user to choose players, access the training manager and to start a new game.
static void main(java.lang.String[] args)
          Starts Rosenkoenig.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GC_CYCLES

private static final int GC_CYCLES
See Also:
Constant Field Values

log

private org.apache.log4j.Logger log

window

private java.awt.Frame window

BASE_DIR

public static final java.lang.String BASE_DIR
See Also:
Constant Field Values

PLAYER_DIR

public static final java.lang.String PLAYER_DIR
See Also:
Constant Field Values

gui

private GenutsGUI gui

game

private Game game
Constructor Detail

Rosenkoenig

public Rosenkoenig()
Creates the Rosenkoenig main window. Whenever the window is closed, the configuration dialog shows up.

Method Detail

main

public static void main(java.lang.String[] args)
Starts Rosenkoenig.

Parameters:
args - no arguments needed

configureGame

private void configureGame()
Shows the configuration dialog to allow the user to choose players, access the training manager and to start a new game.