Skip to content

Commit 486e80f

Browse files
committed
Added Camera.setRotation method for chaining.
1 parent a4b197b commit 486e80f

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

v3/src/camera/Camera.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ var Camera = new Class({
7676
setBackgroundColor: require('./components/SetBackgroundColor'),
7777
setBounds: require('./components/SetBounds'),
7878
setPosition: require('./components/SetPosition'),
79+
setRotation: require('./components/SetRotation'),
7980
setRoundPixels: require('./components/SetRoundPixels'),
8081
setScene: require('./components/SetScene'),
8182
setSize: require('./components/SetSize'),
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
var SetRotation = function (value)
2+
{
3+
if (value === undefined) { value = 0; }
4+
5+
this.rotation = value;
6+
7+
return this;
8+
};
9+
10+
module.exports = SetRotation;

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'fd00fc90-73b3-11e7-9f6d-7d01a3426096'
2+
build: 'acc361d0-73b5-11e7-8dc3-49219ba238d9'
33
};
44
module.exports = CHECKSUM;

0 commit comments

Comments
 (0)