Пример #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();
        }
Пример #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();
        }