private ScreenCoordinate GetRightBottom(int screenWidth, int screenHeight, int level) { return(new ScreenCoordinate( MapUtilities.GetX(this, level) + ((screenWidth - 1) / 2 + 1), MapUtilities.GetY(this, level) + ((screenHeight - 1) / 2 + 1), level)); }
private ScreenCoordinate GetLeftTop(int screenWidth, int screenHeight, int level) { return(new ScreenCoordinate( MapUtilities.GetX(this, level) - ((screenWidth + 1) / 2 - 1), MapUtilities.GetY(this, level) - ((screenHeight + 1) / 2 - 1), level)); }