* @function LevelRenderer.Handler.prototype.destroy * @description 销毁对象,释放资源。调用此函数后所有属性将被置为null。
()
| 643 | * @description 销毁对象,释放资源。调用此函数后所有属性将被置为null。 |
| 644 | */ |
| 645 | destroy() { |
| 646 | this.dispose(); |
| 647 | this._lastX = null; |
| 648 | this._lastY = null; |
| 649 | this._mouseX = null; |
| 650 | this._mouseY = null; |
| 651 | this._findHover = null; |
| 652 | |
| 653 | Eventful.prototype.destroy.apply(this, arguments); |
| 654 | } |
| 655 | |
| 656 | |
| 657 | /** |