Exemplo n.º 1
0
 public PhysicsClient(bool local)
 {
     if (local)
     {
         server = new PhysicsServer();
     }
 }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 4
0
 public PhysicsClient(bool local)
 {
     if (local)
     {
         server = new PhysicsServer();
     }
 }