| 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 3bcca35226e58fd62cb45f11494970a81011d6b9..3b5ae35526895aa8b98cfd7e5b8708e9901876c1 100644
|
| --- a/sky/examples/game/lib/game_demo_world.dart
|
| +++ b/sky/examples/game/lib/game_demo_world.dart
|
| @@ -269,7 +269,7 @@ class Laser extends Sprite {
|
| size = new Size(20.0, 20.0);
|
| position = ship.position;
|
| rotation = ship.rotation + 90.0;
|
| - transferMode = TransferMode.plusMode;
|
| + transferMode = TransferMode.plus;
|
| double rotRadians = convertDegrees2Radians(rotation);
|
| _movementVector = pointMult(new Point(Math.sin(rotRadians), -Math.cos(rotRadians)), 10.0);
|
| _movementVector = new Point(_movementVector.x + ship._movementVector[0], _movementVector.y + ship._movementVector[1]);
|
| @@ -305,7 +305,7 @@ class StarField extends Node {
|
| void paint(PictureRecorder canvas) {
|
| // Setup paint object for opacity and transfer mode
|
| Paint paint = new Paint();
|
| - paint.setTransferMode(TransferMode.plusMode);
|
| + paint.setTransferMode(TransferMode.plus);
|
|
|
| double baseScaleX = 32.0/_img.width;
|
| double baseScaleY = 32.0/_img.height;
|
|
|