From 3b681a014927579a094996084635f3d5ea92b69b Mon Sep 17 00:00:00 2001 From: Maddy Thorson Date: Sun, 7 Feb 2021 00:01:04 -0800 Subject: [PATCH] Cardinals IsHorizontal, IsVertical --- src/Static/Tracker.bf | 3 --- src/Struct/Cardinals.bf | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Static/Tracker.bf b/src/Static/Tracker.bf index 99b7685..6f40b62 100644 --- a/src/Static/Tracker.bf +++ b/src/Static/Tracker.bf @@ -57,9 +57,6 @@ namespace Strawberry AssignmentLists.Add(type, list); } - - Calc.Log(scope => GetTrackedInterfacesInfo); - Calc.Log(scope => GetTrackedTypesInfo); } static public void GetTrackedInterfacesInfo(String buffer) diff --git a/src/Struct/Cardinals.bf b/src/Struct/Cardinals.bf index c243752..f5a77a2 100644 --- a/src/Struct/Cardinals.bf +++ b/src/Struct/Cardinals.bf @@ -47,6 +47,9 @@ namespace Strawberry } } + public bool IsHorizontal => this == .Right || this == .Left; + public bool IsVertical => this == .Down || this == .Up; + public Cardinals Opposite() { switch (this)