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

Side by Side Diff: sky/sdk/example/game/main.dart

Issue 1219953002: Fixes broken game example (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import 'package:sky/widgets/basic.dart'; 1 import 'package:sky/widgets/basic.dart';
2 import 'package:sky/widgets/widget.dart'; 2 import 'package:sky/widgets/widget.dart';
3 import 'package:sky/mojo/net/fetch.dart';
3 4
4 import 'lib/game_demo.dart'; 5 import 'lib/game_demo.dart';
5 import 'lib/sprites.dart'; 6 import 'lib/sprites.dart';
6 7
7 void main() { 8 void main() {
8 // Load images 9 // Load images
9 new ImageMap([ 10 new ImageMap([
10 "res/nebula.png", 11 "res/nebula.png",
11 "res/sprites.png", 12 "res/sprites.png",
12 ], 13 ],
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // ]), 46 // ]),
46 // right:0.0, 47 // right:0.0,
47 // top: 20.0 48 // top: 20.0
48 // ) 49 // )
49 ]); 50 ]);
50 } 51 }
51 } 52 }
52 53
53 ImageMap _loader; 54 ImageMap _loader;
54 SpriteSheet _spriteSheet; 55 SpriteSheet _spriteSheet;
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698