添加插件
This commit is contained in:
15
Assets/Obi/Scripts/Common/Backends/Null/NullBackend.cs
Normal file
15
Assets/Obi/Scripts/Common/Backends/Null/NullBackend.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Obi
|
||||
{
|
||||
public class NullBackend : IObiBackend
|
||||
{
|
||||
#region Solver
|
||||
public ISolverImpl CreateSolver(ObiSolver solver, int capacity)
|
||||
{
|
||||
return new NullSolverImpl();
|
||||
}
|
||||
public void DestroySolver(ISolverImpl solver)
|
||||
{
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user