Lines Matching refs:controls
35354 this.controls = {};
35356 this.controls.leftButton = document.createElement('DIV');
35357 this.controls.leftButton.className = 'leftButton';
35358 this.controls.rightButton = document.createElement('DIV');
35359 this.controls.rightButton.className = 'rightButton';
35360 this.controls.upButton = document.createElement('DIV');
35361 this.controls.upButton.className = 'upButton';
35362 this.controls.downButton = document.createElement('DIV');
35363 this.controls.downButton.className = 'downButton';
35365 for (var button in this.controls) {
35366 if (Object.prototype.hasOwnProperty.call(this.controls, button)) {
35367 this.positionControls.appendChild(this.controls[button]);
35560 this.eventManager.addEventListener(this.controls.leftButton, 'touchend', function (event) {
35566 this.eventManager.addEventListener(this.controls.rightButton, 'touchend', function (event) {
35572 this.eventManager.addEventListener(this.controls.upButton, 'touchend', function (event) {
35578 this.eventManager.addEventListener(this.controls.downButton, 'touchend', function (event) {