| OLD | NEW |
| 1 part of ppw_canvas; | 1 part of ppw_canvas; |
| 2 | 2 |
| 3 class GameTitleElement extends Thing { | 3 class GameTitleElement extends Thing { |
| 4 | 4 |
| 5 GameTitleElement() : super(318, 96); | 5 GameTitleElement() : super(318, 96); |
| 6 | 6 |
| 7 void drawOverride(CanvasRenderingContext2D ctx) { | 7 void drawOverride(CanvasRenderingContext2D ctx) { |
| 8 _textureData.drawTextureKeyAt(ctx, 'logo_win.png'); | 8 _textureData.drawTextureKeyAt(ctx, 'logo_win.png'); |
| 9 } | 9 } |
| 10 | 10 |
| 11 GameElement get _gameElement => (parent as CanvasThing).parent; | 11 GameElement get _gameElement => (parent as CanvasThing).parent; |
| 12 | 12 |
| 13 TextureData get _textureData => _gameElement._textureData; | 13 TextureData get _textureData => _gameElement._textureData; |
| 14 | 14 |
| 15 Game get _game => _gameElement._game; | 15 Game get _game => _gameElement._game; |
| 16 | 16 |
| 17 void _mouseDirectlyOver(args) { | 17 void _mouseDirectlyOver(args) { |
| 18 invalidateDraw(); | 18 invalidateDraw(); |
| 19 } | 19 } |
| 20 } | 20 } |
| OLD | NEW |