Skip to content

Commit 521ea10

Browse files
committed
Moved active pointers total to game config
1 parent 5db2bf5 commit 521ea10

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/boot/Config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var ValueToColor = require('../display/color/ValueToColor');
7474
* @property {(boolean|object)} [input.mouse=true] - [description]
7575
* @property {*} [input.mouse.target=null] - [description]
7676
* @property {boolean} [input.touch=true] - [description]
77+
* @property {integer} [input.activePointers=1] - [description]
7778
* @property {*} [input.touch.target=null] - [description]
7879
* @property {boolean} [input.touch.capture=true] - [description]
7980
* @property {(boolean|object)} [input.gamepad=false] - [description]
@@ -252,6 +253,11 @@ var Config = new Class({
252253
*/
253254
this.inputTouchCapture = GetValue(config, 'input.touch.capture', true);
254255

256+
/**
257+
* @const {integer} Phaser.Boot.Config#inputActivePointers - [description]
258+
*/
259+
this.inputActivePointers = GetValue(config, 'input.activePointers', 1);
260+
255261
/**
256262
* @const {boolean} Phaser.Boot.Config#inputGamepad - [description]
257263
*/
@@ -375,6 +381,7 @@ var Config = new Class({
375381
}
376382

377383
// Callbacks
384+
378385
/**
379386
* @const {BootCallback} Phaser.Boot.Config#preBoot - [description]
380387
*/

0 commit comments

Comments
 (0)