Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | 1x 1x 1x 46x 46x 46x 46x 46x 46x 46x 46x 3x 3x 3x 7x 7x 7x 2x 2x 2x 7x 7x 7x 5x 5x 5x 4x 4x 4x 2x 2x 2x 5x 5x 5x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 2x 2x 2x 1x | "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EntityInput = void 0; const entity_1 = require("./entity"); class EntityInput extends entity_1.Entity { constructor() { super(); this.isHovered = false; this.isPointerEntered = false; this.isPointerPressed = false; this.isHitTestVisible = true; this.isTouchHitBoxDisabled = false; this.receivePointerInput = false; this.receiveKeyboardInput = false; } pointerEnter(position) { position = this.getLocalPositionBounds(position); this.onPointerEnter(position); this.refresh(); } pointerLeave(position) { position = this.getLocalPositionBounds(position); this.onPointerLeave(position); this.refresh(); } pointerMove(position) { position = this.getLocalPositionBounds(position); this.onPointerMove(position); this.refresh(); } pointerHover(position) { position = this.getLocalPositionBounds(position); this.onPointerHover(position); this.refresh(); } pointerPressed(position) { position = this.getLocalPositionBounds(position); this.onPointerPressed(position); this.refresh(); } pointerReleased(position) { position = this.getLocalPositionBounds(position); this.onPointerReleased(position); this.refresh(); } pointerTapped(position) { position = this.getLocalPositionBounds(position); this.onPointerTapped(position); this.refresh(); } touchStart(positions) { positions = this.getLocalPositionBounds(positions); this.onTouchStart(positions); this.refresh(); } touchMove(positions) { positions = this.getLocalPositionBounds(positions); this.onTouchMove(positions); this.refresh(); } touchEnd(positions) { positions = this.getLocalPositionBounds(positions); this.onTouchEnd(positions); this.refresh(); } keyDown(event) { this.onKeyDown(event); this.refresh(); } keyUp(event) { this.onKeyUp(event); this.refresh(); } onEnabledChanged(enabled) { super.onEnabledChanged(enabled); this.invalidate(); this.refresh(); } onPointerEnter(position) { //handle pointer enter } onPointerLeave(position) { //handle pointer leave } onPointerMove(position) { //handle pointer move } onPointerHover(position) { //handle pointer hover } onPointerPressed(position) { //handle pointer pressed } onPointerReleased(position) { //handle pointer released } onPointerTapped(position) { //handle pointer tapped } onTouchStart(position) { //handle touch start } onTouchMove(position) { //handle touch move } onTouchEnd(position) { //handle touch end } onKeyDown(event) { //handle key down } onKeyUp(event) { //handle key up } } exports.EntityInput = EntityInput; |