Index: sky/examples/game/lib/game_demo_world.dart |
diff --git a/sky/examples/game/lib/game_demo_world.dart b/sky/examples/game/lib/game_demo_world.dart |
index 82094d5b2b4fdb441863c84d8adfce5a91c33616..ce57d7084ef5dc2d7d8d1e1bd9903e6adb257c17 100644 |
--- a/sky/examples/game/lib/game_demo_world.dart |
+++ b/sky/examples/game/lib/game_demo_world.dart |
@@ -1,5 +1,8 @@ |
part of game; |
+const double _steeringThreshold = 0.0; |
+const double _steeringMax = 150.0; |
+ |
// Random generator |
Math.Random _rand = new Math.Random(); |
@@ -357,7 +360,7 @@ class Laser extends Sprite { |
_movementVector = new Point(_movementVector.x + ship._movementVector[0], _movementVector.y + ship._movementVector[1]); |
} |
- bool move() { |
+ void move() { |
position = pointAdd(position, _movementVector); |
_frameCount++; |
} |