public void SetDeed(Deed deed) { CLear(); this.deed = deed; mainGrid.Children.Add(deed); }
public void CLear() { if (this.deed != null) { mainGrid.Children.Remove(this.deed); this.deed = null; } }
public void Add_Deed(int id) { var deed = new Deed(id); deed.AddEvent_Handler(eHandler); stackPanel.Children.Add(deed); }
private void SetDeedIntoCardViewer(Deed deed) { cardViewer.SetDeed(new Deed(deed.id)); monopolyGame.ResetDevelopValues(); }