Пример #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)
 {
 }