phaser/src/tweens/index.js

30 lines
671 B
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
2019-01-15 16:20:22 +00:00
* @copyright 2019 Photon Storm Ltd.
2018-02-12 16:01:20 +00:00
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
2018-03-16 13:29:30 +00:00
var CONST = require('./tween/const');
var Extend = require('../utils/object/Extend');
2018-01-31 13:54:44 +00:00
/**
* @namespace Phaser.Tweens
*/
2017-10-12 14:09:52 +00:00
2018-03-16 13:29:30 +00:00
var Tweens = {
2017-10-12 14:09:52 +00:00
2018-02-10 14:56:08 +00:00
Builders: require('./builders'),
2019-01-17 18:38:48 +00:00
Events: require('./events'),
2018-02-10 14:56:08 +00:00
TweenManager: require('./TweenManager'),
2017-10-12 14:09:52 +00:00
Tween: require('./tween/Tween'),
TweenData: require('./tween/TweenData'),
Timeline: require('./Timeline')
2017-10-12 14:09:52 +00:00
};
2018-03-16 13:29:30 +00:00
// Merge in the consts
Tweens = Extend(false, Tweens, CONST);
module.exports = Tweens;