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; }
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; }
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); }
public TestTask(MP4_Task queuedTaskPassThrough) : base(TaskType.Unscheduled, queuedTaskPassThrough) { }
public MP4_Task(TaskType type, MP4_Task queuedTask) { this.queuedTask = queuedTask; this.type = type; state = TaskStates.Created; }
public Task_ObjIntViaMenu_Base(TaskType type, MP4_Task queuedTask) : base(type, queuedTask) { }