Move ClampedSimulation into newton

ClampedSimulation makes more sense at the newton layer because it's dealing
entirely with newton concepts.
This commit is contained in:
Adam Barth
2016-01-20 15:55:47 -08:00
parent ecb72f976a
commit 87ab798daf
3 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,6 @@ library animation;
export 'src/animation/animation.dart';
export 'src/animation/animation_controller.dart';
export 'src/animation/animations.dart';
export 'src/animation/clamped_simulation.dart';
export 'src/animation/curves.dart';
export 'src/animation/forces.dart';
export 'src/animation/listener_helpers.dart';

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2015 The Chromium Authors. All rights reserved.
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,6 +12,7 @@ part 'src/simulation_group.dart';
part 'src/tolerance.dart';
part 'src/utils.dart';
part 'src/clamped_simulation.dart';
part 'src/friction_simulation.dart';
part 'src/gravity_simulation.dart';
part 'src/scroll_simulation.dart';

View File

@@ -1,8 +1,8 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:newton/newton.dart';
part of newton;
class ClampedSimulation extends Simulation {
ClampedSimulation(this.simulation, {