From ed88c8e65a2349bf60b14943c8552c725959c697 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 2 Mar 2017 02:06:22 +0000 Subject: [PATCH] Updated components. --- v3/src/gameobjects/blitter/Blitter.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v3/src/gameobjects/blitter/Blitter.js b/v3/src/gameobjects/blitter/Blitter.js index 6e292085b..a18006a09 100644 --- a/v3/src/gameobjects/blitter/Blitter.js +++ b/v3/src/gameobjects/blitter/Blitter.js @@ -26,12 +26,12 @@ var Bob = require('./Bob'); var Blitter = new Class({ Mixins: [ - Components.Transform, - Components.Texture, - Components.Size, Components.Alpha, Components.BlendMode, Components.ScaleMode, + Components.Size, + Components.Texture, + Components.Transform, Components.Visible, BlitterRender ], @@ -42,8 +42,8 @@ var Blitter = new Class({ { GameObject.call(this, state); - this.setPosition(x, y); this.setTexture(texture, frame); + this.setPosition(x, y); this.children = new Components.Children(this);