mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Added custom cursor property
This commit is contained in:
parent
5c7e624260
commit
da436b0ce7
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
|||
* @property {boolean} enabled - Is this Interactive Object currently enabled for input events?
|
||||
* @property {boolean} draggable - Is this Interactive Object draggable? Enable with `InputPlugin.setDraggable`.
|
||||
* @property {boolean} dropZone - Is this Interactive Object a drag-targets drop zone? Set when the object is created.
|
||||
* @property {boolean} useHandCursor - Should this Interactive Object change the cursor to a pointer (via css) when over? (desktop only)
|
||||
* @property {(boolean|string)} cursor - Should this Interactive Object change the cursor (via css) when over? (desktop only)
|
||||
* @property {?Phaser.GameObjects.GameObject} target - An optional drop target for a draggable Interactive Object.
|
||||
* @property {Phaser.Cameras.Scene2D.Camera} camera - The most recent Camera to be tested against this Interactive Object.
|
||||
* @property {any} hitArea - The hit area for this Interactive Object. Typically a geometry shape, like a Rectangle or Circle.
|
||||
|
@ -61,7 +61,7 @@ var CreateInteractiveObject = function (gameObject, hitArea, hitAreaCallback)
|
|||
enabled: true,
|
||||
draggable: false,
|
||||
dropZone: false,
|
||||
useHandCursor: false,
|
||||
cursor: false,
|
||||
|
||||
target: null,
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue