private void AssignBuilderToBuilding(int builderMac) { Debug.Log(builderMac); BuilderTracking ControlThread = Application.CreateAppBasedOnFrame(builderMac, Application.BuilderTrackingApplications); ControlThread.ManagingApp = Application; ControlThread.AdministratedBuilderMac = builderMac; var buildingPosition = Application.BuildingsWithoutBuilders.Pop().ClosestPoint(AttributedSoftware.Position); builderTrackingThreads.Add(ControlThread); (AttributedSoftware as OperatorSoftware).MoveOrder.MoveToPosition(buildingPosition.x, buildingPosition.y, buildingPosition.z, ControlThread.GetControl, builderMac); }
public WaitingForMaterialRequest(BuilderTracking app) : base(app) { }