public static void printPos(Position2D p) { Debug.Log(p.x + "." + p.y); }
public static bool comparePos(Position2D a, Position2D b) { return(a.x == b.x && a.y == b.y); }
public static Vector2 pos2DToVec2(Position2D p) { return(new Vector2(p.x, p.y)); }
public static int[] pos2DToInt(Position2D p) { return(new int[] { p.x, p.y }); }
public override string ToString() { return(Position2D.ToString()); }