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

Unified Diff: samples/dartcombat/state.dart

Issue 11865005: Remove Futures class, move methods to Future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « pkg/intl/test/date_time_format_local_test_stub.dart ('k') | samples/solar3d/web/solar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/dartcombat/state.dart
diff --git a/samples/dartcombat/state.dart b/samples/dartcombat/state.dart
index 4a94d74c847a29d7f338d682a597c1e3455240c3..849a07887f1e1149aa714538dd900593b1e89c17 100644
--- a/samples/dartcombat/state.dart
+++ b/samples/dartcombat/state.dart
@@ -188,7 +188,7 @@ class PlayerState {
arr.add(_exploreDirectionHelper(RIGHT_DIR, x, y));
arr.add(_exploreDirectionHelper(UP_DIR, x, y));
arr.add(_exploreDirectionHelper(DOWN_DIR, x, y));
- Futures.wait(arr).then((arrValues) {
+ Future.wait(arr).then((arrValues) {
superShot_.complete(true);
});
} else {
« no previous file with comments | « pkg/intl/test/date_time_format_local_test_stub.dart ('k') | samples/solar3d/web/solar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698