コード例 #1
0
 public void Disown(OwnableSpace space)
 {
     if (!Properties.Remove(space))
     {
         throw new ArgumentException();
     }
 }
コード例 #2
0
        public bool AskToBuy(OwnableSpace space)
        {
            bool wantToBuy = true;

            throw new NotImplementedException();
            if (wantToBuy)
            {
                //Player accepts to buy
                return(true);
            }
            else
            {
                return(false);
            }
        }
コード例 #3
0
 public void Own(OwnableSpace space)
 {
     Properties.Add(space);
 }