mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-02 03:16:42 +02:00
17 lines
324 B
TypeScript
Executable File
17 lines
324 B
TypeScript
Executable File
import { BxEventBus } from "@/utils/bx-event-bus";
|
|
|
|
export abstract class BaseGameBarAction {
|
|
abstract $content: HTMLElement;
|
|
|
|
constructor() {}
|
|
reset() {}
|
|
|
|
onClick(e: Event) {
|
|
BxEventBus.Stream.emit('gameBar.activated', {});
|
|
};
|
|
|
|
render(): HTMLElement {
|
|
return this.$content;
|
|
};
|
|
}
|