Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: sky/examples/game/lib/sprites.dart

Issue 1197493002: Adds a SpriteWidget and simplifies sample game setup (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/examples/game/lib/sprites.dart
diff --git a/sky/examples/game/lib/sprites.dart b/sky/examples/game/lib/sprites.dart
index c46f89a52bb4578364f35cfaddb2f42f2c54a7c6..3f31231d5c04b8159a2abf447569602df8502ab2 100644
--- a/sky/examples/game/lib/sprites.dart
+++ b/sky/examples/game/lib/sprites.dart
@@ -8,9 +8,11 @@ import 'package:sky/base/scheduler.dart' as scheduler;
import 'package:sky/mojo/net/image_cache.dart' as image_cache;
import 'package:sky/rendering/box.dart';
import 'package:sky/rendering/object.dart';
+import 'package:sky/widgets/widget.dart';
import 'package:vector_math/vector_math.dart';
part 'sprite_box.dart';
+part 'sprite_widget.dart';
part 'node.dart';
part 'node_with_size.dart';
part 'sprite.dart';

Powered by Google App Engine
This is Rietveld 408576698