()
| 67 | } |
| 68 | |
| 69 | override onRelease() { |
| 70 | this.setRegion(this.unclicked_region); |
| 71 | this.translate( |
| 72 | 0, |
| 73 | -(this.height - (this.clicked_region as { height: number }).height), |
| 74 | ); |
| 75 | return false; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | class CheckBoxUI extends UISpriteElement { |