コード例 #1
0
 public static bool IsOppositeTo(this HishigataAction direction, HishigataAction other) => Math.Abs(direction - other) == 2;
コード例 #2
0
 public static float ToAngle(this HishigataAction direction) => (int)direction * 90;