Index: sky/examples/game/lib/sprite.dart |
diff --git a/sky/examples/game/lib/sprite.dart b/sky/examples/game/lib/sprite.dart |
index 063522a8499f98e881e049804a3c8db27d27ecee..c669cd351faf64dd7492307145d0a48768d8764c 100644 |
--- a/sky/examples/game/lib/sprite.dart |
+++ b/sky/examples/game/lib/sprite.dart |
@@ -14,8 +14,8 @@ class Sprite extends NodeWithSize { |
} |
Sprite.withImage(Image image) { |
- this.pivot = new Point(0.5, 0.5); |
- this.size = new Size(image.width.toDouble(), image.height.toDouble()); |
+ pivot = new Point(0.5, 0.5); |
+ size = new Size(image.width.toDouble(), image.height.toDouble()); |
_image = image; |
} |