protected Rectangle AtBottomOfStairs(WallMap wallMap) { Rectangle futureBoundingBox = new Rectangle((int)((BoundingBox.X)), (int)((BoundingBox.Y + 20)), (int)(BoundingBox.Width), (int)(BoundingBox.Height - 20)); return(wallMap.StairCollision(futureBoundingBox)); }
protected Rectangle AtTopOfStairs(WallMap wallMap) { Rectangle futureBoundingBox = new Rectangle((int)((BoundingBox.X)), (int)((BoundingBox.Y) + BoundingBox.Height + 1), (int)(BoundingBox.Width), (int)(2)); return(wallMap.StairCollision(futureBoundingBox)); }