public void DeliverRobotParts(FactoryRoom deliveryBay)
        {
            foreach (var robotPart in RobotParts)
            {
                deliveryBay.AddRobotPart(robotPart);
            }

            RobotParts.Clear();
        }
Beispiel #2
0
 public void DeliverRobotParts(DeliveryBay deliveryBay)
 {
     deliveryBay.RobotParts = new List <RobotPart>(RobotParts);
     RobotParts.Clear();
 }