Ejemplo n.º 1
0
 public DrumHistory(Drum initialDrumContents, int timeOffset = 0)
 {
     Log = new List <DrumHistoryItem>()
     {
         new DrumHistoryItem(timeOffset, initialDrumContents)
     };
 }
Ejemplo n.º 2
0
 public CATModel(IEnumerable <IsotopeProperties> data, List <Isotope> initialDrumContents = null)
 {
     IsotopeData = data;
     Drum        = new Drum(initialDrumContents);
 }
Ejemplo n.º 3
0
 public DrumHistoryItem(int t, Drum contents)
 {
     Time    = t;
     Details = contents.CreateHistoryMarker();
 }
Ejemplo n.º 4
0
 public void AddLaterPoint(int passedTime, Drum currentContents)
 {
     Log.Add(new DrumHistoryItem(Log.Last().Time + passedTime, currentContents));
 }