Exemplo n.º 1
0
        public Game(GameRule rule, Map map, int botcount,bool spectate)
        {
            Host = null;
            Demo = null;
            Spectate = spectate;

            Server = new GameServer(rule, map, botcount);

            PreCache();
        }
Exemplo n.º 2
0
        public Game(string host, string demo, bool spectate, bool local)
        {
            Host = host;
            Demo = demo;
            Spectate = spectate;
            if (demo != null && demo != "")
                Spectate = true;

            if (local)
                Server = new GameServer();

            PreCache();
        }