Example #1
0
 public override bool Place(PlacableObject objectToBePlaced)
 {
     if (this.IsEmpty())
     {
         this.Content = objectToBePlaced;
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public override void Remove()
 {
     this.Content = null;
 }
Example #3
0
 public override bool Place(PlacableObject objectToBePlaced)
 {
     return(false);
 }
Example #4
0
 public abstract bool Place(PlacableObject objectToBePlaced);