diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 19:04:52 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-04 19:04:52 +0100 |
| commit | a6779fb9384383891913caf63c00b0c7143be5b7 (patch) | |
| tree | 334b69b05b2b5e5fb57c67ae8e4bb7fd18a15b53 /src/Rectangles.cs | |
| parent | f013cadfd04d71163bffd4a12c1f71309e16957c (diff) | |
rename rectIsNotContainedInRectangles=>doesNotContain
Diffstat (limited to 'src/Rectangles.cs')
| -rw-r--r-- | src/Rectangles.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |