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

Unified Diff: sky/examples/game/main.dart

Issue 1177563004: Adds support for zOrder and references to parent nodes in sprites (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
« no previous file with comments | « sky/examples/game/lib/transform_node.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/game/main.dart
diff --git a/sky/examples/game/main.dart b/sky/examples/game/main.dart
index e3a76b341fec4ac0bed3c07a7ab9f1b1b422b1fa..35cb8bdacc49399fd5663b3acee0363f67022736 100644
--- a/sky/examples/game/main.dart
+++ b/sky/examples/game/main.dart
@@ -17,5 +17,7 @@ void main() {
void allLoaded(ImageMap loader) {
// Create a new app with the sprite box that contains our game world
- app = new AppView(new GameBox(new GameWorld(loader)));
+ //app = new AppView(new GameBox(new GameWorld(loader)));
+ //print("hello");
+ app = new AppView((new SpriteBox(new GameTests(loader), SpriteBoxTransformMode.letterbox)));
}
« no previous file with comments | « sky/examples/game/lib/transform_node.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698