mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +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'),
|
||||
ScaleY: require('./ScaleY'),
|
||||
SetAlpha: require('./SetAlpha'),
|
||||
SetBlendMode: require('./SetBlendMode'),
|
||||
SetDepth: require('./SetDepth'),
|
||||
SetHitArea: require('./SetHitArea'),
|
||||
SetOrigin: require('./SetOrigin'),
|
||||
|
|
Loading…
Reference in a new issue