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

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

Issue 1223543004: Adds better explosions, shield, and game over (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: git cl web 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/main.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 fe6adc3f373e6068d169e8a87a4f00695b7ec0ef..2ad4cf69da9b721ba60634ec47362da4054735f6 100644
--- a/sky/sdk/example/game/lib/particle_system.dart
+++ b/sky/sdk/example/game/lib/particle_system.dart
@@ -283,8 +283,6 @@ void drawAtlas(Canvas canvas, Image image, List<RSTransform> transforms, List<Re
TransferMode transferMode, Paint paint) {
assert(transforms.length == rects.length && transforms.length == colors.length);
- Paint paint = new Paint();
-
Texture mainTexture = new Texture(image);
for (int i = 0; i < transforms.length; i++) {
« no previous file with comments | « sky/sdk/example/game/lib/node_with_size.dart ('k') | sky/sdk/example/game/main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698