コード例 #1
0
        public Form2()
        {
            InitializeComponent();

            game_config        = new GameConfig();
            game_config.rounds = new List <RoundConfig>();
            config             = ConfigLoader.LoadConfig(configPath);
            refreshWindow(0);
        }
コード例 #2
0
        public Form1()
        {
            InitializeComponent();

            configPath = "../../config.json";
            config     = ConfigLoader.LoadConfig(configPath);
            game       = new Game(config);

            robots             = new List <Tuple <string, IRobot> >();
            game.future_robots = Load_save_robots();
            evStop             = new EventWaitHandle(false, EventResetMode.AutoReset, "EventStop");
        }