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

Unified Diff: sky/sdk/example/game/lib/particle_system.dart

Issue 1226113007: Add @override annotation to known overriden methods (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « sky/sdk/example/game/lib/node_with_size.dart ('k') | sky/sdk/example/game/lib/sprite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/game/lib/particle_system.dart
diff --git a/sky/sdk/example/game/lib/particle_system.dart b/sky/sdk/example/game/lib/particle_system.dart
index 2ad4cf69da9b721ba60634ec47362da4054735f6..de8b6880222e217a7cb72cd376d7adf75c119cb3 100644
--- a/sky/sdk/example/game/lib/particle_system.dart
+++ b/sky/sdk/example/game/lib/particle_system.dart
@@ -122,6 +122,7 @@ class ParticleSystem extends Node {
if (colorSequence == null) colorSequence = new ColorSequence.fromStartAndEndColor(new Color(0xffffffff), new Color(0x00ffffff));
}
+ @override
void update(double dt) {
// Create new particles
@@ -236,6 +237,7 @@ class ParticleSystem extends Node {
_numEmittedParticles++;
}
+ @override
void paint(PaintingCanvas canvas) {
List<RSTransform> transforms = [];
« no previous file with comments | « sky/sdk/example/game/lib/node_with_size.dart ('k') | sky/sdk/example/game/lib/sprite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698