gate definitions refactoring

This commit is contained in:
klemek
2020-12-17 19:26:11 +01:00
parent 0ea30c4829
commit 9ea26d2563
7 changed files with 338 additions and 597 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ using System.Linq;
namespace UntitledLogicGame.Workspace.Gates
{
internal class InputState : State
public class InputState : State
{
public InputState(IEnumerable<bool> args) : base(args) { }
@@ -12,7 +12,7 @@ namespace UntitledLogicGame.Workspace.Gates
public InputState(int len) : base(len) { }
}
internal class OutputState : State
public class OutputState : State
{
public OutputState(IEnumerable<bool> args) : base(args) { }
@@ -21,7 +21,7 @@ namespace UntitledLogicGame.Workspace.Gates
public OutputState(int len) : base(len) { }
}
internal abstract class State
public abstract class State
{
internal int Length => values.Length;