Changeset 155 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/events/CHPRadioEvent.java
- Timestamp:
- 11/20/2019 03:22:38 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/structures/events/CHPRadioEvent.java
r76 r155 45 45 public String radioFile = ""; 46 46 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 47 61 @Override 48 62 public String toXML()
Note: See TracChangeset
for help on using the changeset viewer.
