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

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

Issue 1215413002: First pass on action animations for sprites (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
Index: sky/sdk/example/game/lib/color_secuence.dart
diff --git a/sky/sdk/example/game/lib/color_secuence.dart b/sky/sdk/example/game/lib/color_secuence.dart
index 72e9a4000a185a342885ddef16d457e891e146e5..d270cb8f55591ac57c3aac73449963848723a9fc 100644
--- a/sky/sdk/example/game/lib/color_secuence.dart
+++ b/sky/sdk/example/game/lib/color_secuence.dart
@@ -41,12 +41,6 @@ class ColorSequence {
}
}
- int _clamp(int val, int min, int max) {
- if (val < min) return min;
- if (val > max) return max;
- return val;
- }
-
Color colorAtPosition(double pos) {
assert(pos >= 0.0 && pos <= 1.0);

Powered by Google App Engine
This is Rietveld 408576698