Skip to content

Commit 6eae9ca

Browse files
committed
Fixed reference
1 parent 7011082 commit 6eae9ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/physics/matter-js/MatterSprite.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @license {@link https://opensource.org/licenses/MIT|MIT License}
55
*/
66

7-
var AnimationComponent = require('../../gameobjects/components/Animation');
7+
var AnimationState = require('../../gameobjects/components/AnimationState');
88
var Class = require('../../utils/Class');
99
var Components = require('./components');
1010
var GameObject = require('../../gameobjects/GameObject');
@@ -100,7 +100,7 @@ var MatterSprite = new Class({
100100
*/
101101
this._crop = this.resetCropObject();
102102

103-
this.anims = new AnimationComponent(this);
103+
this.anims = new AnimationState(this);
104104

105105
this.setTexture(texture, frame);
106106
this.setSizeToFrame();

0 commit comments

Comments
 (0)