Bricklayer.Common.World.Map.InDrawBounds C# (CSharp) Method

InDrawBounds() public method

Determines if a grid position is in the bounds of the drawing area (The map, but not the border)
public InDrawBounds ( int x, int y ) : bool
x int
y int
return bool
        public bool InDrawBounds(int x, int y)
        {
            return !(y < 0 || y >= Height || x < 0 || x >= Width);
        }