Example #1
0
 public PhysicsClient(bool local)
 {
     if (local)
     {
         server = new PhysicsServer();
     }
 }
Example #2
0
        static void ServerMain(string[] args)
        {
            Root r = new Root(args, true);

            r.ServerServer(args);

            Mod.Instance.Init();

            r.NextIndex += 10;

            while (!Root.Instance.Quit)
            {
                Flow f = new PhysicsServer();
                r.CurrentFlow = f;
                f.Start();
                r.ServerRun(true);
                f.Stop();
            }

            r.ServerStop();
            r.Dispose();
        }
Example #3
0
        static void ServerMain(string[] args)
        {
            Root r = new Root(args, true);
            r.ServerServer(args);

            Mod.Instance.Init();

            r.NextIndex += 10;

            while (!Root.Instance.Quit)
            {
                Flow f = new PhysicsServer();
                r.CurrentFlow = f;
                f.Start();
                r.ServerRun(true);
                f.Stop();
            }

            r.ServerStop();
            r.Dispose();
        }
Example #4
0
 public PhysicsClient(bool local)
 {
     if (local)
     {
         server = new PhysicsServer();
     }
 }