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

Unified Diff: samples/pop_pop_win/lib/src/canvas/game_root.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 side-by-side diff with in-line comments
Download patch
Index: samples/pop_pop_win/lib/src/canvas/game_root.dart
diff --git a/samples/third_party/pop-pop-win/lib/src/canvas/game_root.dart b/samples/pop_pop_win/lib/src/canvas/game_root.dart
similarity index 95%
rename from samples/third_party/pop-pop-win/lib/src/canvas/game_root.dart
rename to samples/pop_pop_win/lib/src/canvas/game_root.dart
index b78858f7734cc92cf1b0277e36eedf4501bdc895..cac72d4db97083a279f2a8bcfb0b563229415e41 100644
--- a/samples/third_party/pop-pop-win/lib/src/canvas/game_root.dart
+++ b/samples/pop_pop_win/lib/src/canvas/game_root.dart
@@ -59,11 +59,6 @@ class GameRoot extends GameManager {
GameAudio.win();
break;
}
- targetPlatform.trackAnalyticsEvent('game', newState.name, game.field.toString());
- }
-
- void onNewBestTime(int value) {
- targetPlatform.trackAnalyticsEvent('game', 'record', game.field.toString(), value);
}
void _updateCanvasSize() {
« no previous file with comments | « samples/pop_pop_win/lib/src/canvas/game_element.dart ('k') | samples/pop_pop_win/lib/src/canvas/new_game_element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698