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

Side by Side Diff: samples/pop_pop_win/lib/src/canvas/board_element.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_canvas; 1 part of ppw_canvas;
2 2
3 class BoardElement extends ParentThing { 3 class BoardElement extends ParentThing {
4 Array2d<SquareElement> _elements; 4 Array2d<SquareElement> _elements;
5 5
6 BoardElement() : super(0, 0) { 6 BoardElement() : super(0, 0) {
7 cacheEnabled = true; 7 cacheEnabled = true;
8 } 8 }
9 9
10 int get visualChildCount { 10 int get visualChildCount {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 bool get _elementsNeedUpdate { 54 bool get _elementsNeedUpdate {
55 assert(_game != null); 55 assert(_game != null);
56 return _elements == null || 56 return _elements == null ||
57 _elements.width != _game.field.width || 57 _elements.width != _game.field.width ||
58 _elements.height != _game.field.height; 58 _elements.height != _game.field.height;
59 } 59 }
60 60
61 TextureData get _textureData => _gameElement._textureData; 61 TextureData get _textureData => _gameElement._textureData;
62 62
63 } 63 }
OLDNEW
« no previous file with comments | « samples/pop_pop_win/lib/poppopwin.dart ('k') | samples/pop_pop_win/lib/src/canvas/game_audio.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698