# HG changeset patch # User Claus Gittinger # Date 1487012506 -3600 # Node ID 9857736ace99750f4facb9988106c93919322e32 # Parent 0d96a44fe4f22b0df80993b57dc4ddb2c7bbf4ec #DOCUMENTATION by cg class: DisplayObject comment/format in: #intersects: #isContainedIn: diff -r 0d96a44fe4f2 -r 9857736ace99 DisplayObject.st --- a/DisplayObject.st Sat Feb 11 15:08:38 2017 +0100 +++ b/DisplayObject.st Mon Feb 13 20:01:46 2017 +0100 @@ -544,15 +544,19 @@ ! intersects:aRectangle - "object must decide, if its intersecting a rectangle" + "object must decide, if it's intersecting a rectangle" ^ frame intersects:aRectangle + + "Modified (comment): / 13-02-2017 / 20:00:54 / cg" ! isContainedIn:aRectangle - "object must decide, if its within a rectangle" + "object must decide, if it's within a rectangle" ^ aRectangle contains:frame + + "Modified (comment): / 13-02-2017 / 20:00:58 / cg" ! isHitBy:aPoint