diff --git a/v3/src/camera/Camera.js b/v3/src/camera/Camera.js index f95a528c4..c8acaac70 100644 --- a/v3/src/camera/Camera.js +++ b/v3/src/camera/Camera.js @@ -75,6 +75,7 @@ var Camera = new Class({ removeBounds: require('./components/RemoveBounds'), setBackgroundColor: require('./components/SetBackgroundColor'), setBounds: require('./components/SetBounds'), + setName: require('./components/SetName'), setPosition: require('./components/SetPosition'), setRotation: require('./components/SetRotation'), setRoundPixels: require('./components/SetRoundPixels'), diff --git a/v3/src/camera/components/SetName.js b/v3/src/camera/components/SetName.js new file mode 100644 index 000000000..08a727e3b --- /dev/null +++ b/v3/src/camera/components/SetName.js @@ -0,0 +1,10 @@ +var SetName = function (value) +{ + if (value === undefined) { value = ''; } + + this.name = value; + + return this; +}; + +module.exports = SetName; diff --git a/v3/src/checksum.js b/v3/src/checksum.js index bcff4685f..152e83ad2 100644 --- a/v3/src/checksum.js +++ b/v3/src/checksum.js @@ -1,4 +1,4 @@ var CHECKSUM = { -build: '4bd62f10-73f1-11e7-b8d9-bbb34810695d' +build: 'c4c460d0-73f7-11e7-8118-7df32620cd19' }; module.exports = CHECKSUM; \ No newline at end of file