Changeset 58 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/ScriptIncident.java
- Timestamp:
- 08/14/2017 03:25:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/structures/ScriptIncident.java
r56 r58 155 155 public void setOffset(int offset) 156 156 { 157 int old = this.offset; 157 158 this.offset = offset; 159 160 for (TimeSlice ts : slices.values()) 161 { 162 ts.shift(offset - old); 163 } 164 158 165 script.update(); 159 166 } … … 267 274 * that the latest, longest-lasting event ends, minus the offset. 268 275 */ 269 p rivatevoid updateLength()276 public void updateLength() 270 277 { 271 278 int lengthSoFar = 0;
Note: See TracChangeset
for help on using the changeset viewer.
