From bc62a243f54aea646ed38624084f3747f663e8db Mon Sep 17 00:00:00 2001 From: Viktor Lidholt Date: Tue, 25 Aug 2015 10:14:26 -0700 Subject: [PATCH] Removes old code from demo game --- examples/game/lib/game_demo_node.dart | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/examples/game/lib/game_demo_node.dart b/examples/game/lib/game_demo_node.dart index c819ab5820..e9ada2a8d3 100644 --- a/examples/game/lib/game_demo_node.dart +++ b/examples/game/lib/game_demo_node.dart @@ -483,29 +483,6 @@ class GameObjectFactory { } } -// class MovingObstacle extends Obstacle { -// MovingObstacle(SpriteSheet sheet, Map effects, ObstacleType type) : super (sheet, effects, type); -// -// void setupAction() { -// actions.stopAll(); -// -// List offsets = [ -// new Offset(-160.0, 160.0), -// new Offset(-80.0, -160.0), -// new Offset(0.0, 160.0), -// new Offset(80.0, -160.0), -// new Offset(160.0, 160.0)]; -// -// List points = []; -// for (Offset offset in offsets) { -// points.add(position + offset); -// } -// -// ActionSpline spline = new ActionSpline((a) => position = a, points, 4.0); -// actions.run(new ActionRepeatForever(spline)); -// } -// } - class StarField extends NodeWithSize { sky.Image _image; SpriteSheet _spriteSheet;