mirror of
https://github.com/photonstorm/phaser
synced 2025-01-08 11:18:50 +00:00
18 lines
318 B
JavaScript
18 lines
318 B
JavaScript
var TWEEN_CONST = require('../const');
|
|
|
|
// Return true if this Tween should be moved from the pending list to the active list
|
|
var Init = function ()
|
|
{
|
|
if (this.paused)
|
|
{
|
|
this.state = TWEEN_CONST.PAUSED;
|
|
|
|
return false;
|
|
}
|
|
else
|
|
{
|
|
return true;
|
|
}
|
|
};
|
|
|
|
module.exports = Init;
|