Index: sky/examples/game/lib/node_with_size.dart |
diff --git a/sky/examples/game/lib/node_with_size.dart b/sky/examples/game/lib/node_with_size.dart |
index e8577f390d214c9dd0539dcb5d3fa1b0a4d3f0fe..33d4ee6be35119675f67edd6d7b2a25ee2bc12ec 100644 |
--- a/sky/examples/game/lib/node_with_size.dart |
+++ b/sky/examples/game/lib/node_with_size.dart |
@@ -21,7 +21,7 @@ abstract class NodeWithSize extends Node { |
} |
} |
- bool hitTest (Point nodePoint) { |
+ bool isPointInside (Point nodePoint) { |
double minX = -size.width * pivot.x; |
double minY = -size.height * pivot.y; |