mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Changed draggable to pointer array.
This commit is contained in:
parent
d068f8decb
commit
812ea7d50b
1 changed files with 4 additions and 1 deletions
|
@ -54,7 +54,7 @@ var SceneInputManager = new Class({
|
|||
list: [],
|
||||
pendingInsertion: [],
|
||||
pendingRemoval: [],
|
||||
draggable: [],
|
||||
draggable: { 0: [], 1: [], 2: [], 3: [], 4: [], 5: [], 6: [], 7: [], 8: [], 9: [] },
|
||||
over: { 0: [], 1: [], 2: [], 3: [], 4: [], 5: [], 6: [], 7: [], 8: [], 9: [] },
|
||||
down: { 0: [], 1: [], 2: [], 3: [], 4: [], 5: [], 6: [], 7: [], 8: [], 9: [] }
|
||||
};
|
||||
|
@ -84,6 +84,9 @@ var SceneInputManager = new Class({
|
|||
setHitAreaRectangle: require('./components/SetHitAreaRectangle'),
|
||||
setHitAreaTriangle: require('./components/SetHitAreaTriangle'),
|
||||
|
||||
getInteractiveObject: require('./components/GetInteractiveObject'),
|
||||
setDraggable: require('./components/SetDraggable'),
|
||||
|
||||
setCallback: require('./components/SetCallback'),
|
||||
setCallbacks: require('./components/SetCallbacks'),
|
||||
setOnDownCallback: require('./components/SetOnDownCallback'),
|
||||
|
|
Loading…
Reference in a new issue