mirror of
https://github.com/photonstorm/phaser
synced 2024-12-01 00:49:41 +00:00
SetBlendMode Action
This commit is contained in:
parent
42e792e076
commit
a2511548c0
2 changed files with 12 additions and 0 deletions
11
v3/src/actions/SetBlendMode.js
Normal file
11
v3/src/actions/SetBlendMode.js
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
var SetBlendMode = function (items, value)
|
||||||
|
{
|
||||||
|
for (var i = 0; i < items.length; i++)
|
||||||
|
{
|
||||||
|
items[i].setBlendMode(value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return items;
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = SetBlendMode;
|
|
@ -28,6 +28,7 @@ module.exports = {
|
||||||
ScaleXY: require('./ScaleXY'),
|
ScaleXY: require('./ScaleXY'),
|
||||||
ScaleY: require('./ScaleY'),
|
ScaleY: require('./ScaleY'),
|
||||||
SetAlpha: require('./SetAlpha'),
|
SetAlpha: require('./SetAlpha'),
|
||||||
|
SetBlendMode: require('./SetBlendMode'),
|
||||||
SetDepth: require('./SetDepth'),
|
SetDepth: require('./SetDepth'),
|
||||||
SetHitArea: require('./SetHitArea'),
|
SetHitArea: require('./SetHitArea'),
|
||||||
SetOrigin: require('./SetOrigin'),
|
SetOrigin: require('./SetOrigin'),
|
||||||
|
|
Loading…
Reference in a new issue