Changeset 7 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/TimeSlice.java
- Timestamp:
- 07/25/2017 11:16:45 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/scriptbuilder/structures/TimeSlice.java (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
build
-
Property
svn:ignore
set to
-
trunk/src/scriptbuilder/structures/TimeSlice.java
r1 r7 5 5 import java.util.List; 6 6 import scriptbuilder.gui.ScriptBuilderGuiConstants; 7 import scriptbuilder.structures.events. ScriptEventInterface;7 import scriptbuilder.structures.events.I_ScriptEvent; 8 8 9 9 /** … … 23 23 * List of Script Events which begin at this instance. 24 24 */ 25 public List< ScriptEventInterface> events;25 public List<I_ScriptEvent> events; 26 26 //Absolute start time of this time slice 27 27 private int seconds; … … 36 36 { 37 37 this.seconds = seconds; 38 events = new ArrayList< ScriptEventInterface>();38 events = new ArrayList<I_ScriptEvent>(); 39 39 } 40 40 … … 44 44 * @param event the ScriptEvent to be added 45 45 */ 46 public void addEvent( ScriptEventInterfaceevent)46 public void addEvent(I_ScriptEvent event) 47 47 { 48 48 events.add(event); … … 93 93 { 94 94 int dur = 0; 95 for ( ScriptEventInterfacee : events)95 for (I_ScriptEvent e : events) 96 96 { 97 97 if (e.getLength() > dur) … … 151 151 StringBuilder sb = new StringBuilder(); 152 152 153 for ( ScriptEventInterfaceevent : events)153 for (I_ScriptEvent event : events) 154 154 { 155 155 sb.append(event.toString());
Note: See TracChangeset
for help on using the changeset viewer.
