public void AddRack(Rack rack) { if (rack != null) { rack.AssignPoint(this); } this._rack = rack; }
public void AssignRack(Rack rack) { if (rack.point == this.currentPoint) { rack.AssignPoint(null); this._rack = rack; _rack.Move(this._x, this._y + 1, this._z); needsUpdate = true; } }
public void AddRack(Rack rack) { _racks.Add(rack); rack.AssignPoint(null); rack.Move(this.x, this.y + 0.2m, this.z); }