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

Side by Side Diff: sky/examples/game/main.dart

Issue 1177383006: Rename all the things (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix imports 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 unified diff | Download patch
« no previous file with comments | « sky/examples/game/lib/sprites.dart ('k') | sky/examples/lib/solid_color_box.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import 'dart:sky'; 1 import 'dart:sky';
2 import 'lib/game.dart'; 2 import 'lib/game.dart';
3 import 'lib/sprites.dart'; 3 import 'lib/sprites.dart';
4 import 'package:sky/framework/app.dart'; 4 import 'package:sky/app/view.dart';
5 5
6 AppView app; 6 AppView app;
7 7
8 void main() { 8 void main() {
9 // Load images 9 // Load images
10 new ImageMap([ 10 new ImageMap([
11 "https://raw.githubusercontent.com/slembcke/GalacticGuardian.spritebuilder /GDC/Packages/SpriteBuilder%20Resources.sbpack/resources-auto/BurnTexture.png", 11 "https://raw.githubusercontent.com/slembcke/GalacticGuardian.spritebuilder /GDC/Packages/SpriteBuilder%20Resources.sbpack/resources-auto/BurnTexture.png",
12 "https://raw.githubusercontent.com/slembcke/GalacticGuardian.spritebuilder /GDC/Packages/SpriteBuilder%20Resources.sbpack/Sprites/resources-auto/asteroid_b ig_002.png", 12 "https://raw.githubusercontent.com/slembcke/GalacticGuardian.spritebuilder /GDC/Packages/SpriteBuilder%20Resources.sbpack/Sprites/resources-auto/asteroid_b ig_002.png",
13 "https://raw.githubusercontent.com/slembcke/GalacticGuardian.spritebuilder /GDC/Packages/SpriteBuilder%20Resources.sbpack/Sprites/resources-auto/GG_blueshi p_Lv3.png", 13 "https://raw.githubusercontent.com/slembcke/GalacticGuardian.spritebuilder /GDC/Packages/SpriteBuilder%20Resources.sbpack/Sprites/resources-auto/GG_blueshi p_Lv3.png",
14 ], 14 ],
15 allLoaded); 15 allLoaded);
16 } 16 }
17 17
18 void allLoaded(ImageMap loader) { 18 void allLoaded(ImageMap loader) {
19 // Create a new app with the sprite box that contains our game world 19 // Create a new app with the sprite box that contains our game world
20 //app = new AppView(new GameBox(new GameWorld(loader))); 20 //app = new AppView(new GameBox(new GameWorld(loader)));
21 //print("hello"); 21 //print("hello");
22 app = new AppView(root: (new GameTestsBox(new GameTests(loader), SpriteBoxTran sformMode.nativePoints))); 22 app = new AppView(root: (new GameTestsBox(new GameTests(loader), SpriteBoxTran sformMode.nativePoints)));
23 } 23 }
OLDNEW
« no previous file with comments | « sky/examples/game/lib/sprites.dart ('k') | sky/examples/lib/solid_color_box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698