Removes old code from demo game

This commit is contained in:
Viktor Lidholt
2015-08-25 10:14:26 -07:00
parent 34e0ef8368
commit bc62a243f5

View File

@@ -483,29 +483,6 @@ class GameObjectFactory {
}
}
// class MovingObstacle extends Obstacle {
// MovingObstacle(SpriteSheet sheet, Map<String,SoundEffect> effects, ObstacleType type) : super (sheet, effects, type);
//
// void setupAction() {
// actions.stopAll();
//
// List<Offset> 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<Point> 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;