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

Side by Side Diff: samples/third_party/pop-pop-win/lib/src/poppopwin/game_state.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
(Empty)
1 part of ppw;
2
3 class GameState {
4 static const GameState reset = const GameState._internal("reset");
5 static const GameState started = const GameState._internal("started");
6 static const GameState won = const GameState._internal("won");
7 static const GameState lost = const GameState._internal("lost");
8 final String name;
9
10 const GameState._internal(this.name);
11
12 String toString() => 'GameState: $name';
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698