19 lines
424 B
C#
19 lines
424 B
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace XED.VirtualFactory
|
|
{
|
|
public abstract class NeedsScanner
|
|
{
|
|
protected List<FactoryNeeds> needs = new();
|
|
public event Action<NeedsScanner, List<FactoryNeeds>> onScanningComplete;
|
|
|
|
public abstract void Scanning();
|
|
|
|
protected void ScanningComplete()
|
|
{
|
|
onScanningComplete.Invoke(this, needs);
|
|
}
|
|
}
|
|
} |