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

Side by Side Diff: samples/pop_pop_win/lib/src/html/game_manager.dart

Issue 200723008: samples/poppopwin: upgrade to first-class sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixed pkgbuild.status for rename Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 part of ppw_html; 1 part of ppw_html;
2 2
3 abstract class GameManager { 3 abstract class GameManager {
4 final int _width, _height, _bombCount; 4 final int _width, _height, _bombCount;
5 final GameStorage _gameStorage = new GameStorage(); 5 final GameStorage _gameStorage = new GameStorage();
6 6
7 Game _game; 7 Game _game;
8 StreamSubscription _updatedEventId; 8 StreamSubscription _updatedEventId;
9 StreamSubscription _gameStateChangedId; 9 StreamSubscription _gameStateChangedId;
10 Timer _clockTimer; 10 Timer _clockTimer;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 bestTimeMilliseconds.then((int val) { 85 bestTimeMilliseconds.then((int val) {
86 onNewBestTime(val); 86 onNewBestTime(val);
87 }); 87 });
88 } 88 }
89 }); 89 });
90 } 90 }
91 updateClock(); 91 updateClock();
92 onGameStateChanged(newState); 92 onGameStateChanged(newState);
93 } 93 }
94 } 94 }
OLDNEW
« no previous file with comments | « samples/pop_pop_win/lib/src/canvas/title_element.dart ('k') | samples/pop_pop_win/lib/src/html/game_storage.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698