Example #1
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     ServiceController.setRuntime(Runtime.CLIENT);
     n = new NetworkInterface();
     s = new NetworkUpdatableString(manager, "GameState");
     n.ConnectToServer();
 }