Commit e2af762e authored by Viktor Lidholt's avatar Viktor Lidholt

Updates demo game to work with new constraints api

parent 06567371
......@@ -436,7 +436,7 @@ class MovingEnemy extends Obstacle {
maxDamage = 2.0;
addChild(_sprt);
constraints = [new ConstraintRotationToMovement(0.0, 0.5)];
constraints = [new ConstraintRotationToMovement(dampening: 0.5)];
}
final double _swirlSpacing = 80.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment