mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
23 lines
497 B
JavaScript
23 lines
497 B
JavaScript
import IMouseClick from "./IMouseClick"
|
|
import WindowElement from "../../element/WindowElement"
|
|
|
|
/**
|
|
* @template {HTMLElement} T
|
|
* @extends {IMouseClick<T>}
|
|
*/
|
|
export default class MouseOpenWindow extends IMouseClick {
|
|
|
|
#window
|
|
|
|
clicked(location) {
|
|
}
|
|
|
|
unclicked(location) {
|
|
this.#window = new WindowElement({
|
|
type: this.options.windowType,
|
|
windowOptions: this.options.windowOptions,
|
|
})
|
|
this.blueprint.append(this.#window)
|
|
}
|
|
}
|