Beispiel #1
0
 public void Learn(int track)
 {
     if (duplicate)
     {
         AdvancesTrack = AdvancesTrack.Copy();
         duplicate     = false;
     }
     BackTrack = new ScheduleStack();
     AdvancesTrack.Push(track);
 }
Beispiel #2
0
 public void Relearn()
 {
     if (duplicate)
     {
         AdvancesTrack = AdvancesTrack.Copy();
         BackTrack     = BackTrack.Copy();
         duplicate     = false;
     }
     AdvancesTrack.Push(BackTrack.Pop());
 }
Beispiel #3
0
 public void RollBack()
 {
     if (duplicate)
     {
         AdvancesTrack = AdvancesTrack.Copy();
         BackTrack     = BackTrack.Copy();
         duplicate     = false;
     }
     BackTrack.Push(AdvancesTrack.Pop());
 }