From dc3159316e11cc6cb81dab3e947bcb2446016b2f Mon Sep 17 00:00:00 2001 From: Viktor Lidholt Date: Tue, 25 Aug 2015 14:45:44 -0700 Subject: [PATCH] Makes the spline tension editable in sprites --- examples/game/lib/action_spline.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/game/lib/action_spline.dart b/examples/game/lib/action_spline.dart index 61e7835fa2..5b4a351530 100644 --- a/examples/game/lib/action_spline.dart +++ b/examples/game/lib/action_spline.dart @@ -24,11 +24,11 @@ class ActionSpline extends ActionInterval { final Function setter; final List points; + double tension = 0.5; double _dt; void update(double t) { - double tension = 0.5; int p; double lt;