internal bool TryLayDownDisc(Disc_ViewModel discVm) { try { _tower.LayDiscOnTop(discVm.Disc); // if no exception occurred in the model, everything is ok and the disk can be added on top in the view Discs.Insert(0, discVm); return(true); } catch { } return(false); }
private void Tower_DiscTaken(object sender, DiscMovedEventArgs e) { SetAllowTakeDisc(false); takenDisc = e.Disc; }