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

Unified Diff: samples/pop_pop_win/lib/src/canvas/title_element.dart

Issue 242443008: samples/pop_pop_win: now based on StageXL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tiny nit Created 6 years, 8 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 | « samples/pop_pop_win/lib/src/canvas/square_element.dart ('k') | samples/pop_pop_win/lib/src/game.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/pop_pop_win/lib/src/canvas/title_element.dart
diff --git a/samples/pop_pop_win/lib/src/canvas/title_element.dart b/samples/pop_pop_win/lib/src/canvas/title_element.dart
deleted file mode 100644
index 1e7446d42cab328a8a93949bce5bf852fbf3052f..0000000000000000000000000000000000000000
--- a/samples/pop_pop_win/lib/src/canvas/title_element.dart
+++ /dev/null
@@ -1,20 +0,0 @@
-part of pop_pop_win.canvas;
-
-class GameTitleElement extends Thing {
-
- GameTitleElement(): super(318, 96);
-
- void drawOverride(CanvasRenderingContext2D ctx) {
- _textureData.drawTextureKeyAt(ctx, 'logo_win.png');
- }
-
- GameElement get _gameElement => (parent as CanvasThing).parent;
-
- TextureData get _textureData => _gameElement._textureData;
-
- Game get _game => _gameElement._game;
-
- void _mouseDirectlyOver(args) {
- invalidateDraw();
- }
-}
« no previous file with comments | « samples/pop_pop_win/lib/src/canvas/square_element.dart ('k') | samples/pop_pop_win/lib/src/game.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698