Esempio n. 1
0
        public void SetDeed(Deed deed)
        {
            CLear();
            this.deed = deed;

            mainGrid.Children.Add(deed);
        }
Esempio n. 2
0
 public void CLear()
 {
     if (this.deed != null)
     {
         mainGrid.Children.Remove(this.deed);
         this.deed = null;
     }
 }
Esempio n. 3
0
        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();
 }