Ejemplo n.º 1
0
 public void StopPreviewing()
 {
     PreviewPickID      = "";
     IsPreviewCapturing = false;
     IsPreviewing       = false;
     UnsortedBowls.ForEach(x => x.StopPreviewing());
 }
Ejemplo n.º 2
0
 private void PrepForStateChange()
 {
     Access.Data <MancalaData>(ID).PrepForStateChange();
     UnsortedBowls.SelectMany(x => x.StoneIDs).ForEach(x =>
     {
         Access.Data <StoneData>(x).PrepForStateChange();
         Access.BodyData <StoneBodyData>(x).PrepForStateChange();
     });
     UnsortedBowls.ForEach(x => Access.Data <BowlData>(x.ID).PrepForStateChange());
 }
Ejemplo n.º 3
0
 public void Undo()
 {
     Access.Data <MancalaData>(ID).Undo();
     UnsortedBowls.SelectMany(x => x.StoneIDs).ForEach(x =>
     {
         Access.Data <StoneData>(x).Undo();
         Access.BodyData <StoneBodyData>(x).Undo();
     });
     UnsortedBowls.ForEach(x => Access.Data <BowlData>(x.ID).Undo());
 }