aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Rectangles.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-04 19:04:52 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-04 19:04:52 +0100
commita6779fb9384383891913caf63c00b0c7143be5b7 (patch)
tree334b69b05b2b5e5fb57c67ae8e4bb7fd18a15b53 /src/Rectangles.cs
parentf013cadfd04d71163bffd4a12c1f71309e16957c (diff)
rename rectIsNotContainedInRectangles=>doesNotContain
Diffstat (limited to 'src/Rectangles.cs')
-rw-r--r--src/Rectangles.cs4
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))