Browse Source

Changed comment to reflect new changes

Dave Solares 5 năm trước cách đây
mục cha
commit
4a2b44c2c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/DeviceInput/deviceInputSystem.ts

+ 1 - 1
src/DeviceInput/deviceInputSystem.ts

@@ -41,7 +41,7 @@ export class DeviceInputSystem {
 
     /**
      * Default Constructor
-     * @param elementToAttachTo - element to attach events to (usually canvas)
+     * @param scene - scene object to check for canvas
      */
     constructor(scene: Scene) {
         this._elementToAttachTo = scene.getEngine().getInputElement();