ch.sahits.game
Class OpenPatrician
java.lang.Object
ch.sahits.game.OpenPatrician
public class OpenPatrician
- extends Object
Main class for starting the OpenPatrician game.
- Author:
- Andi Hotz, (c) Sahits GmbH, 2011
Created on Dec 16, 2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.apache.log4j.Logger logger
startedServer
private static volatile boolean startedServer
lock
private static final Object lock
OpenPatrician
public OpenPatrician()
main
public static void main(String[] args)
- Parameters:
args -
logEnvironment
private static void logEnvironment()
createStandaloneServer
public static void createStandaloneServer(OpenPatricianFrame userGui)
- Create the server instance for a standalone game. If the server is already started no
second server will be started.
- Parameters:
userGui - Thread/Runnable that handels the users GUI rendering
Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.