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