|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jrummikub.control.ApplicationControl
public class ApplicationControl
The application control controls the settings for a new games and create the game control
Constructor Summary | |
---|---|
ApplicationControl(jrummikub.view.IView view)
Creates a new application control |
Method Summary | |
---|---|
boolean |
isGameRunning()
Checks if a game is currently running |
void |
startApplication()
Starts the application by showing the game settings dialog panel |
boolean |
startDedicatedServer(java.lang.String password)
Ensure the dedicated server is running |
void |
updateDedicatedServerPassword(jrummikub.util.LoginData loginData)
If the login given is to our own dedicated server, update it's password to match |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationControl(jrummikub.view.IView view)
view
- the view to useMethod Detail |
---|
public boolean isGameRunning()
public void startApplication()
public boolean startDedicatedServer(java.lang.String password)
password
- password to use, if empty "jrummikub" is used
public void updateDedicatedServerPassword(jrummikub.util.LoginData loginData)
loginData
- login data of user trying to connect
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |