Ignore:
Timestamp:
01/16/2020 12:13:14 PM (6 years ago)
Author:
jdalbey
Message:

Change hardcoded "scripts" as name of folder to a constant in SimulationManager?. See #228.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tmcsim/cadsimulator/CADSimulatorConsoleDriver.java

    r455 r558  
    1313import tmcsim.interfaces.CADClientInterface; 
    1414import tmcsim.interfaces.SimulationManagerInterface; 
     15import static tmcsim.simulationmanager.SimulationManager.kScenarioFolder; 
    1516 
    1617/** 
     
    8687 
    8788        // Load a script file 
    88         String autoloadScriptname = "scripts/one-incident.xml"; 
     89        String autoloadScriptname = kScenarioFolder+"/one-incident.xml"; 
    8990        app.theCoordinator.loadScriptFile(new File(autoloadScriptname)); 
    9091        // The status should now say Ready 
Note: See TracChangeset for help on using the changeset viewer.