de.adom.jade.ui
Class UserInterfaceFactory

java.lang.Object
  extended by de.adom.jade.ui.UserInterfaceFactory

public class UserInterfaceFactory
extends java.lang.Object

Permits the selection of a specific user interface type. The basic idea behind this mechanism is that JADE supports an arbitrary number of user interfaces for the internal game engine. The default interface is implemented by Thomas Biskup and represents the classical roguelike game interface based on ascii symbols. Other interfaces might replace this way of playing with graphical tiles and other stuff. In theory a user interface even might represent a server that communicates with a kind of remote terminal.

User interfaces must be implemented in the following way:

This class will automatically find all such subpackages and offer them to the game.

See Also:
UserInterface, UserInterface.initialize(de.adom.jade.startup.SplashScreen)

Method Summary
static UserInterface createUserInterface()
          Selects a user interface from the available list of user interfaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createUserInterface

public static UserInterface createUserInterface()
Selects a user interface from the available list of user interfaces.

Returns:
the chosen user interface, fully initialized and ready for configuration