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