Changeset 155 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/events


Ignore:
Timestamp:
11/20/2019 03:22:38 PM (6 years ago)
Author:
sdanthin
Message:

units.xml moved to Incidents folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/structures/events/CHPRadioEvent.java

    r76 r155  
    4545    public String radioFile = ""; 
    4646 
     47    /** 
     48     * Returns the contents of the CHPRadioEvent to make recording easier. 
     49     * @return a string with the script to be said  
     50     */ 
     51    public String toScriptFile() 
     52    { 
     53        String fileContents = ""; 
     54        for(int lineIndex=0;lineIndex<lines.size();lineIndex++) 
     55        { 
     56            fileContents += roles.get(lineIndex) + " " + lines.get(lineIndex) + "\n"; 
     57        } 
     58        return fileContents; 
     59    } 
     60     
    4761    @Override 
    4862    public String toXML() 
Note: See TracChangeset for help on using the changeset viewer.