Updates demo game to work with new constraints api

This commit is contained in:
Viktor Lidholt 2015-08-26 10:07:59 -07:00
parent 065673711e
commit e2af762e76

View File

@ -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;