Esempio n. 1
0
        public Simulator(ServerInterface serverInterface, string simId)
        {
            this.simId = simId;
            this.simInterface = serverInterface.ConnectToSim(this.simId);

            this.Init();
            this.log = new SimulatorLog(this.simInterface);
        }
Esempio n. 2
0
        public Simulator(ServerInterface serverInterface, string name, string description)
        {
            this.simId = serverInterface.StartSim(name, description);
            this.simInterface = serverInterface.ConnectToSim(this.simId);

            this.Init();
            this.log = new SimulatorLog(this.simInterface);
        }