コード例 #1
0
 public override bool PlaceObject(LoadableObject _object)
 {
     this.Object = _object;
     this.SetSymbol();
     this.Object.CurrentPlace = this;
     return(true);
 }
コード例 #2
0
 public override bool PlaceObject(LoadableObject _object)
 {
     if (this.Object == null)
     {
         this.Ship          = (Ship)_object;
         this.Ship.PierRail = this.Pier;
         this.SetSymbol();
         this.Ship.CurrentPlace = this;
         this.Ship.CanMove      = false;
     }
     return(true);
 }
コード例 #3
0
 public override bool PlaceObject(LoadableObject _object)
 {
     if (this.Object == null)
     {
         this.Object = _object;
         this.SetSymbol();
         this.Object.CurrentPlace = this;
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #4
0
        // Can obtain a wagon and deletes it



        public override bool PlaceObject(LoadableObject _object)
        {
            throw new NotImplementedException();
        }
コード例 #5
0
 public abstract bool PlaceObject(LoadableObject _object);