public ListedGeneticSettingsGUI(SnakeAISettings snakeAISettings, bool canEdit) : base(canEdit) { this.snakeAISettings = snakeAISettings; geneticSettings = snakeAISettings.GeneticSettings; CreateItems(); AddSettingItems(); }
public ListedNetworkSettingsGUI(SnakeAISettings snakeAISettings, bool canEdit) : base(canEdit) { this.snakeAISettings = snakeAISettings; networkSettings = snakeAISettings.NetworkSettings; CreateItems(); AddSettingItems(); }
public SettingsGUI(SnakeAISettings snakeAISettings) { this.snakeAISettings = snakeAISettings; this.geneticSettings = snakeAISettings.GeneticSettings; this.networkSettings = snakeAISettings.NetworkSettings; this.snakeSettings = snakeAISettings.SnakeSettings; StartPosition = FormStartPosition.CenterScreen; InitializeComponent(); }
public TrainSnakeGUI(SnakeAISettings snakeAISettings) { this.snakeAISettings = snakeAISettings; Width = 450; Height = 400; Text = "Train AI"; StartPosition = FormStartPosition.CenterScreen; InitializeComponent(); }
public MainMenuGUI() { Width = 450; Height = 400; StartPosition = FormStartPosition.CenterScreen; Text = "Snake AI Playtest"; NetworkSettings = MakeNetworkSettings(); SnakeSettings = MakeSnakeSettings(); GeneticSettings = MakeGeneticSettings(NetworkSettings, SnakeSettings); SnakeAISettings = new SnakeAISettings(GeneticSettings, NetworkSettings, SnakeSettings); InitializeComponent(); }