diff --git a/v3/src/animation/frame/Animation.js b/v3/src/animations/frame/Animation.js similarity index 99% rename from v3/src/animation/frame/Animation.js rename to v3/src/animations/frame/Animation.js index ad0f46101..809382166 100644 --- a/v3/src/animation/frame/Animation.js +++ b/v3/src/animations/frame/Animation.js @@ -9,6 +9,8 @@ var GetFrames = require('./inc/GetFrames'); // Game Objects have the Animation Component, which are like playheads to global Animations (these objects) // So multiple Game Objects can have playheads all pointing to this one Animation instance +// Phaser.Animations.Animation + var Animation = new Class({ initialize: diff --git a/v3/src/animation/frame/config.json b/v3/src/animations/frame/config.json similarity index 100% rename from v3/src/animation/frame/config.json rename to v3/src/animations/frame/config.json diff --git a/v3/src/animation/frame/inc/AddFrame.js b/v3/src/animations/frame/inc/AddFrame.js similarity index 100% rename from v3/src/animation/frame/inc/AddFrame.js rename to v3/src/animations/frame/inc/AddFrame.js diff --git a/v3/src/animation/frame/inc/AddFrameAt.js b/v3/src/animations/frame/inc/AddFrameAt.js similarity index 100% rename from v3/src/animation/frame/inc/AddFrameAt.js rename to v3/src/animations/frame/inc/AddFrameAt.js diff --git a/v3/src/animation/frame/inc/CheckFrame.js b/v3/src/animations/frame/inc/CheckFrame.js similarity index 100% rename from v3/src/animation/frame/inc/CheckFrame.js rename to v3/src/animations/frame/inc/CheckFrame.js diff --git a/v3/src/animation/frame/inc/CompleteAnimation.js b/v3/src/animations/frame/inc/CompleteAnimation.js similarity index 100% rename from v3/src/animation/frame/inc/CompleteAnimation.js rename to v3/src/animations/frame/inc/CompleteAnimation.js diff --git a/v3/src/animation/frame/inc/Frame.js b/v3/src/animations/frame/inc/Frame.js similarity index 100% rename from v3/src/animation/frame/inc/Frame.js rename to v3/src/animations/frame/inc/Frame.js diff --git a/v3/src/animation/frame/inc/GetFirstTick.js b/v3/src/animations/frame/inc/GetFirstTick.js similarity index 100% rename from v3/src/animation/frame/inc/GetFirstTick.js rename to v3/src/animations/frame/inc/GetFirstTick.js diff --git a/v3/src/animation/frame/inc/GetFrameAt.js b/v3/src/animations/frame/inc/GetFrameAt.js similarity index 100% rename from v3/src/animation/frame/inc/GetFrameAt.js rename to v3/src/animations/frame/inc/GetFrameAt.js diff --git a/v3/src/animation/frame/inc/GetFrames.js b/v3/src/animations/frame/inc/GetFrames.js similarity index 100% rename from v3/src/animation/frame/inc/GetFrames.js rename to v3/src/animations/frame/inc/GetFrames.js diff --git a/v3/src/animation/frame/inc/GetNextTick.js b/v3/src/animations/frame/inc/GetNextTick.js similarity index 100% rename from v3/src/animation/frame/inc/GetNextTick.js rename to v3/src/animations/frame/inc/GetNextTick.js diff --git a/v3/src/animation/frame/inc/Load.js b/v3/src/animations/frame/inc/Load.js similarity index 100% rename from v3/src/animation/frame/inc/Load.js rename to v3/src/animations/frame/inc/Load.js diff --git a/v3/src/animation/frame/inc/NextFrame.js b/v3/src/animations/frame/inc/NextFrame.js similarity index 100% rename from v3/src/animation/frame/inc/NextFrame.js rename to v3/src/animations/frame/inc/NextFrame.js diff --git a/v3/src/animation/frame/inc/PreviousFrame.js b/v3/src/animations/frame/inc/PreviousFrame.js similarity index 100% rename from v3/src/animation/frame/inc/PreviousFrame.js rename to v3/src/animations/frame/inc/PreviousFrame.js diff --git a/v3/src/animation/frame/inc/RemoveFrame.js b/v3/src/animations/frame/inc/RemoveFrame.js similarity index 100% rename from v3/src/animation/frame/inc/RemoveFrame.js rename to v3/src/animations/frame/inc/RemoveFrame.js diff --git a/v3/src/animation/frame/inc/RemoveFrameAt.js b/v3/src/animations/frame/inc/RemoveFrameAt.js similarity index 100% rename from v3/src/animation/frame/inc/RemoveFrameAt.js rename to v3/src/animations/frame/inc/RemoveFrameAt.js diff --git a/v3/src/animation/frame/inc/RepeatAnimation.js b/v3/src/animations/frame/inc/RepeatAnimation.js similarity index 100% rename from v3/src/animation/frame/inc/RepeatAnimation.js rename to v3/src/animations/frame/inc/RepeatAnimation.js diff --git a/v3/src/animation/frame/inc/SetFrame.js b/v3/src/animations/frame/inc/SetFrame.js similarity index 100% rename from v3/src/animation/frame/inc/SetFrame.js rename to v3/src/animations/frame/inc/SetFrame.js diff --git a/v3/src/animation/frame/inc/ToJSON.js b/v3/src/animations/frame/inc/ToJSON.js similarity index 100% rename from v3/src/animation/frame/inc/ToJSON.js rename to v3/src/animations/frame/inc/ToJSON.js diff --git a/v3/src/animation/frame/inc/UpdateFrameSequence.js b/v3/src/animations/frame/inc/UpdateFrameSequence.js similarity index 100% rename from v3/src/animation/frame/inc/UpdateFrameSequence.js rename to v3/src/animations/frame/inc/UpdateFrameSequence.js diff --git a/v3/src/animation/manager/AnimationManager.js b/v3/src/animations/manager/AnimationManager.js similarity index 100% rename from v3/src/animation/manager/AnimationManager.js rename to v3/src/animations/manager/AnimationManager.js diff --git a/v3/src/animation/manager/events/AddAnimationEvent.js b/v3/src/animations/manager/events/AddAnimationEvent.js similarity index 100% rename from v3/src/animation/manager/events/AddAnimationEvent.js rename to v3/src/animations/manager/events/AddAnimationEvent.js diff --git a/v3/src/animation/manager/events/PauseAllAnimationEvent.js b/v3/src/animations/manager/events/PauseAllAnimationEvent.js similarity index 100% rename from v3/src/animation/manager/events/PauseAllAnimationEvent.js rename to v3/src/animations/manager/events/PauseAllAnimationEvent.js diff --git a/v3/src/animation/manager/events/RemoveAnimationEvent.js b/v3/src/animations/manager/events/RemoveAnimationEvent.js similarity index 100% rename from v3/src/animation/manager/events/RemoveAnimationEvent.js rename to v3/src/animations/manager/events/RemoveAnimationEvent.js diff --git a/v3/src/animation/manager/events/ResumeAllAnimationEvent.js b/v3/src/animations/manager/events/ResumeAllAnimationEvent.js similarity index 100% rename from v3/src/animation/manager/events/ResumeAllAnimationEvent.js rename to v3/src/animations/manager/events/ResumeAllAnimationEvent.js diff --git a/v3/src/animation/manager/events/index.js b/v3/src/animations/manager/events/index.js similarity index 100% rename from v3/src/animation/manager/events/index.js rename to v3/src/animations/manager/events/index.js diff --git a/v3/src/animation/manager/inc/AddAnimation.js b/v3/src/animations/manager/inc/AddAnimation.js similarity index 100% rename from v3/src/animation/manager/inc/AddAnimation.js rename to v3/src/animations/manager/inc/AddAnimation.js diff --git a/v3/src/animation/manager/inc/CreateFrameAnimation.js b/v3/src/animations/manager/inc/CreateFrameAnimation.js similarity index 100% rename from v3/src/animation/manager/inc/CreateFrameAnimation.js rename to v3/src/animations/manager/inc/CreateFrameAnimation.js diff --git a/v3/src/animation/manager/inc/FromJSON.js b/v3/src/animations/manager/inc/FromJSON.js similarity index 100% rename from v3/src/animation/manager/inc/FromJSON.js rename to v3/src/animations/manager/inc/FromJSON.js diff --git a/v3/src/animation/manager/inc/GenerateFrameNames.js b/v3/src/animations/manager/inc/GenerateFrameNames.js similarity index 100% rename from v3/src/animation/manager/inc/GenerateFrameNames.js rename to v3/src/animations/manager/inc/GenerateFrameNames.js diff --git a/v3/src/animation/manager/inc/GenerateFrameNumbers.js b/v3/src/animations/manager/inc/GenerateFrameNumbers.js similarity index 100% rename from v3/src/animation/manager/inc/GenerateFrameNumbers.js rename to v3/src/animations/manager/inc/GenerateFrameNumbers.js diff --git a/v3/src/animation/manager/inc/GetAnimation.js b/v3/src/animations/manager/inc/GetAnimation.js similarity index 100% rename from v3/src/animation/manager/inc/GetAnimation.js rename to v3/src/animations/manager/inc/GetAnimation.js diff --git a/v3/src/animation/manager/inc/LoadAnimationToGameObject.js b/v3/src/animations/manager/inc/LoadAnimationToGameObject.js similarity index 100% rename from v3/src/animation/manager/inc/LoadAnimationToGameObject.js rename to v3/src/animations/manager/inc/LoadAnimationToGameObject.js diff --git a/v3/src/animation/manager/inc/PauseAll.js b/v3/src/animations/manager/inc/PauseAll.js similarity index 100% rename from v3/src/animation/manager/inc/PauseAll.js rename to v3/src/animations/manager/inc/PauseAll.js diff --git a/v3/src/animation/manager/inc/PlayAnimation.js b/v3/src/animations/manager/inc/PlayAnimation.js similarity index 100% rename from v3/src/animation/manager/inc/PlayAnimation.js rename to v3/src/animations/manager/inc/PlayAnimation.js diff --git a/v3/src/animation/manager/inc/RemoveAnimation.js b/v3/src/animations/manager/inc/RemoveAnimation.js similarity index 100% rename from v3/src/animation/manager/inc/RemoveAnimation.js rename to v3/src/animations/manager/inc/RemoveAnimation.js diff --git a/v3/src/animation/manager/inc/ResumeAll.js b/v3/src/animations/manager/inc/ResumeAll.js similarity index 100% rename from v3/src/animation/manager/inc/ResumeAll.js rename to v3/src/animations/manager/inc/ResumeAll.js diff --git a/v3/src/animation/manager/inc/StaggerPlayAnimation.js b/v3/src/animations/manager/inc/StaggerPlayAnimation.js similarity index 100% rename from v3/src/animation/manager/inc/StaggerPlayAnimation.js rename to v3/src/animations/manager/inc/StaggerPlayAnimation.js diff --git a/v3/src/animation/manager/inc/ToJSON.js b/v3/src/animations/manager/inc/ToJSON.js similarity index 100% rename from v3/src/animation/manager/inc/ToJSON.js rename to v3/src/animations/manager/inc/ToJSON.js diff --git a/v3/src/boot/Game.js b/v3/src/boot/Game.js index 7dd929376..fd09a6239 100644 --- a/v3/src/boot/Game.js +++ b/v3/src/boot/Game.js @@ -9,7 +9,7 @@ var DOMContentLoaded = require('../dom/DOMContentLoaded'); var EventDispatcher = require('../events/EventDispatcher'); var VisibilityHandler = require('./VisibilityHandler'); -var AnimationManager = require('../animation/manager/AnimationManager'); +var AnimationManager = require('../animations/manager/AnimationManager'); var CreateRenderer = require('./CreateRenderer'); var Data = require('../scene/plugins/Data'); var GlobalCache = require('../cache/GlobalCache');