Remove crafty namespace from solver
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using CompState = Craftimizer.Simulator.CompletionState;
|
||||
|
||||
namespace Craftimizer.Solver;
|
||||
|
||||
public enum CompletionState : byte
|
||||
{
|
||||
Incomplete,
|
||||
ProgressComplete,
|
||||
NoMoreDurability,
|
||||
|
||||
InvalidAction,
|
||||
MaxActionCountReached,
|
||||
NoMoreActions
|
||||
}
|
||||
|
||||
internal static class CompletionStateUtils
|
||||
{
|
||||
public static CompState IntoBase(this CompletionState me) =>
|
||||
(CompState)me >= CompState.Other ? CompState.Other : (CompState)me;
|
||||
}
|
||||
Reference in New Issue
Block a user