public Pevent(Job job, Jobtype type, int time, int proccessor) // constructor assigned processor { this.job = job; this.type = type; this.time = time; this.processor = proccessor; }
public ModuleJob(ShipModule parent, Jobtype type, int numSlots) { this.numSlots = numSlots; this.parent = parent; this.type = type; assignments = new List <JobAssignment>(numSlots); }
} // processor to be assigned to / 0 if unassigned public Pevent(Job job, Jobtype type, int time) // constructor unassigned processor { this.job = job; this.type = type; this.time = time; processor = 0; }