public static bool obj_extracted(ObjectInstance obj) { if (obj == CurrentObject && CurrentObjectExtracted) { return(true); } return(ExtractedObjectQueue.Any(extractObj => obj == extractObj)); }
public static void clean_obj_queue() { ExtractedObjectQueue.Clear(); }
public static void queue_extracted_obj(ObjectInstance obj) { ExtractedObjectQueue.Enqueue(obj); }