示例#1
0
        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);
        }
示例#2
0
 public WaitingForMaterialRequest(BuilderTracking app) : base(app)
 {
 }