From: jpbruyere Date: Thu, 4 Feb 2016 18:04:52 +0000 (+0100) Subject: rename rectIsNotContainedInRectangles=>doesNotContain X-Git-Tag: 0.3~67 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=a6779fb9384383891913caf63c00b0c7143be5b7;p=jp%2Fcrow.git rename rectIsNotContainedInRectangles=>doesNotContain --- diff --git a/src/Rectangles.cs b/src/Rectangles.cs index 2d7f6ff1..dbb4118b 100644 --- a/src/Rectangles.cs +++ b/src/Rectangles.cs @@ -17,7 +17,7 @@ namespace Crow public void AddRectangle(Rectangle r) { - if (rectIsNotContainedInRectangles (r)) { + if (doesNotContain (r)) { list.Add (r); boundsUpToDate = false; } @@ -28,7 +28,7 @@ namespace Crow _bounds = Rectangle.Empty; boundsUpToDate = true; } - bool rectIsNotContainedInRectangles(Rectangle r) + bool doesNotContain(Rectangle r) { foreach (Rectangle rInList in list) if (rInList.ContainsOrIsEqual(r))