Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/test/simulation/workbench/stores/nesExternalOptions.ts
13399 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { SimulationStorage, SimulationStorageValue } from './simulationStorage';
7
8
/**
9
* Persisted options for NES External mode in the simulation workbench.
10
*/
11
export class NesExternalOptions {
12
13
/**
14
* Path to the directory containing NES external scenarios (e.g., `../eval/simulation/nes`).
15
*/
16
public readonly externalScenariosPath: SimulationStorageValue<string>;
17
18
constructor(storage: SimulationStorage) {
19
this.externalScenariosPath = new SimulationStorageValue(storage, 'nesExternalScenariosPath', '');
20
}
21
}
22
23