示例#1
0
 public Task_UnstowThing(MP4_Task queuedTask, ServiceLocator.ID id, Equipment_Base eqpt, Command cmd, CommandReferences cRef) : base(TaskType.Scheduled_Pauseable, queuedTask)
 {
     playerID       = id;
     this.installer = eqpt;
     this.cmd       = cmd;
     this.cRef      = cRef;
 }
示例#2
0
 public Task_EjectThing(MP4_Task queuedTask, ServiceLocator.ID id, Equipment_Base ejector, Command cmd, CommandReferences cRef) : base(TaskType.Scheduled_Pauseable, queuedTask)
 {
     playerID     = id;
     this.ejector = ejector;
     this.cmd     = cmd;
     this.cRef    = cRef;
 }
示例#3
0
 public void StartTask(MP4_Task task)
 {
     Debug.Assert(task.state == TaskStates.Created, "Attempting to register an old task");
     task.state = TaskStates.Ready;
     _taskPool.Add(task);
 }
示例#4
0
 public TestTask(MP4_Task queuedTaskPassThrough) : base(TaskType.Unscheduled, queuedTaskPassThrough)
 {
 }
示例#5
0
 public MP4_Task(TaskType type, MP4_Task queuedTask)
 {
     this.queuedTask = queuedTask;
     this.type       = type;
     state           = TaskStates.Created;
 }
示例#6
0
 public Task_ObjIntViaMenu_Base(TaskType type, MP4_Task queuedTask) : base(type, queuedTask)
 {
 }