Changeset 9 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures/TimeSlice.java


Ignore:
Timestamp:
07/25/2017 02:59:09 PM (9 years ago)
Author:
bmcguffin
Message:

Decoupled ScriptIncident? from the observer-observable pattern. SimulationScript? no longer implements Observer; instead, ScriptIncident? calls methods in SimulationScript? which notify the script's observers of a change.

Also: TimeSlice? now contains a stub method, toXML(), which returns the contents of the timeslice in XML text format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/structures/TimeSlice.java

    r7 r9  
    185185 
    186186    } 
     187 
     188    /** 
     189     * Stub method. Converts the contents of this timeslice to a correctly 
     190     * formatted <ScriptEvent> XML element. 
     191     * 
     192     * @return XML conversion of this timeslice. 
     193     */ 
     194    public String toXML() 
     195    { 
     196        return "STUB"; 
     197    } 
    187198} 
Note: See TracChangeset for help on using the changeset viewer.