Updates demo game to work with new constraints api
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user