public short Height(int x, int y, InterCardinalDirection d) { if (x < 0 || x >= size.Width || y < 0 || y >= size.Height) { return(-1); } else { return(groundLv); } }
public static Direction Get(InterCardinalDirection dir) { return(directions[(int)dir]); }