mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Updated components.
This commit is contained in:
parent
98eb2e3155
commit
ed88c8e65a
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue