mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Added SetAlpha function for method chaining.
This commit is contained in:
parent
b77c34562a
commit
40db9d3dab
1 changed files with 7 additions and 0 deletions
|
@ -30,6 +30,13 @@ var Alpha = {
|
|||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
setAlpha: function (value)
|
||||
{
|
||||
this.alpha = value;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue