Cardinals IsHorizontal, IsVertical

This commit is contained in:
Maddy Thorson 2021-02-07 00:01:04 -08:00
parent 7f1c1d8337
commit 3b681a0149
2 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,6 @@ namespace Strawberry
AssignmentLists.Add(type, list); AssignmentLists.Add(type, list);
} }
Calc.Log(scope => GetTrackedInterfacesInfo);
Calc.Log(scope => GetTrackedTypesInfo);
} }
static public void GetTrackedInterfacesInfo(String buffer) static public void GetTrackedInterfacesInfo(String buffer)

View File

@ -47,6 +47,9 @@ namespace Strawberry
} }
} }
public bool IsHorizontal => this == .Right || this == .Left;
public bool IsVertical => this == .Down || this == .Up;
public Cardinals Opposite() public Cardinals Opposite()
{ {
switch (this) switch (this)