mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Fixed missing Pipeline component.
This commit is contained in:
parent
6ee154f950
commit
f1a25921c7
2 changed files with 10 additions and 2 deletions
|
@ -3,6 +3,7 @@ var Class = require('../../utils/Class');
|
||||||
var Components = require('./components');
|
var Components = require('./components');
|
||||||
var GameObject = require('../../gameobjects/GameObject');
|
var GameObject = require('../../gameobjects/GameObject');
|
||||||
var GetFastValue = require('../../utils/object/GetFastValue');
|
var GetFastValue = require('../../utils/object/GetFastValue');
|
||||||
|
var Pipeline = require('../../gameobjects/components/Pipeline');
|
||||||
var Image = require('../../gameobjects/image/Image');
|
var Image = require('../../gameobjects/image/Image');
|
||||||
var Vector2 = require('../../math/Vector2');
|
var Vector2 = require('../../math/Vector2');
|
||||||
|
|
||||||
|
@ -22,7 +23,8 @@ var MatterImage = new Class({
|
||||||
Components.Sleep,
|
Components.Sleep,
|
||||||
Components.Static,
|
Components.Static,
|
||||||
Components.Transform,
|
Components.Transform,
|
||||||
Components.Velocity
|
Components.Velocity,
|
||||||
|
Pipeline
|
||||||
],
|
],
|
||||||
|
|
||||||
initialize:
|
initialize:
|
||||||
|
@ -59,6 +61,8 @@ var MatterImage = new Class({
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setPosition(x, y);
|
this.setPosition(x, y);
|
||||||
|
|
||||||
|
this.initPipeline('TextureTintPipeline');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -4,6 +4,7 @@ var Class = require('../../utils/Class');
|
||||||
var Components = require('./components');
|
var Components = require('./components');
|
||||||
var GameObject = require('../../gameobjects/GameObject');
|
var GameObject = require('../../gameobjects/GameObject');
|
||||||
var GetFastValue = require('../../utils/object/GetFastValue');
|
var GetFastValue = require('../../utils/object/GetFastValue');
|
||||||
|
var Pipeline = require('../../gameobjects/components/Pipeline');
|
||||||
var Sprite = require('../../gameobjects/sprite/Sprite');
|
var Sprite = require('../../gameobjects/sprite/Sprite');
|
||||||
var Vector2 = require('../../math/Vector2');
|
var Vector2 = require('../../math/Vector2');
|
||||||
|
|
||||||
|
@ -23,7 +24,8 @@ var MatterSprite = new Class({
|
||||||
Components.Sleep,
|
Components.Sleep,
|
||||||
Components.Static,
|
Components.Static,
|
||||||
Components.Transform,
|
Components.Transform,
|
||||||
Components.Velocity
|
Components.Velocity,
|
||||||
|
Pipeline
|
||||||
],
|
],
|
||||||
|
|
||||||
initialize:
|
initialize:
|
||||||
|
@ -62,6 +64,8 @@ var MatterSprite = new Class({
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setPosition(x, y);
|
this.setPosition(x, y);
|
||||||
|
|
||||||
|
this.initPipeline('TextureTintPipeline');
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue