예제 #1
0
        public void Uproot()
        {
            _soil.Uproot();
            _soil = null;

            IsGrowing = false;
        }
예제 #2
0
        public void Plant(ISoil soil)
        {
            soil.Plant(this);

            _soil     = soil;
            IsGrowing = true;
        }
예제 #3
0
 public void InitInterface(IUp up, IDown down, IUBatch udisk, IFlashBatch flash, ISoil soil)
 {
     this.Up         = up;
     this.Down       = down;
     this.UBatch     = udisk;
     this.FlashBatch = flash;
     this.Soil       = soil;
     Debug.WriteLine("接口初始化完成");
 }
예제 #4
0
 public void InitInterface(IUp up, IDown down, IUBatch udisk, IFlashBatch flash, ISoil soil)
 {
     this.Up         = up;
     this.Down       = down;
     this.UBatch     = udisk;
     this.FlashBatch = flash;
     this.Soil       = soil;
 }
예제 #5
0
 public void InitInterface(IUp up, IDown down, IUBatch udisk, IFlashBatch flash, ISoil soil)
 {
     throw new NotImplementedException();
 }