Esempio n. 1
0
        public ParallelSandbox(Game game, BaseSimulator simulator)
        {
            if (game == null)
            {
                throw new ArgumentNullException("game");
            }
            else if (simulator == null)
            {
                throw new ArgumentNullException("simulator");
            }

            m_simulator = simulator;
            RootGame = game;
        }
Esempio n. 2
0
        public BenchmarkSandbox(Game game, BaseSimulator simulator)
            : base(false, true)
        {
            if (game == null)
            {
                throw new ArgumentNullException("game");
            }
            else if (simulator == null)
            {
                throw new ArgumentNullException("simulator");
            }

            m_simulator = simulator;
            RootGame = game;
        }
Esempio n. 3
0
 public TplSandbox(Game game, BaseSimulator simulator)
     : base(game, simulator)
 { }