Exemple #1
0
        public void Initialize(String XMLFile)
        {
            GameObjectFactory.The.loadXmlData(null);
            Monirator        m = new Monirator();
            CommandRequester c = new CommandRequester();
            NetworkManager   n = new NetworkManager();
            GameSimulator    s = new MasterSimulator();

            GameController.Initialize(XMLFile, false, _frame, m, s, n, c);
            GameController.connectAsInputSource(c);
            GameController.connectAsInputSource(n);
        }
Exemple #2
0
        public void Initialize(String XMLFile)
        {
            CommandRequester c = new CommandRequester();
            GameSimulator s = new GameSimulator();
            replayer = new ReplayReader(XMLFile);

            GameController.Initialize(XMLFile, false, _frame, null, s, null, c);
            GameController.connectAsInputSource(replayer);
        }
Exemple #3
0
        public void Initialize(String XMLFile)
        {
            Monirator        m = new Monirator();
            CommandRequester c = new CommandRequester();
            NetworkManager   n = new NetworkManager();
            GameSimulator    s = new GameSimulator();

            GameController.Initialize(XMLFile, false, _frame, m, s, n, c);
            GameController.connectAsInputSource(n);
        }