示例#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;