Rooms, items and some player stuff
This commit is contained in:
11
src/framework/event-bus/event-bus.d.ts
vendored
Normal file
11
src/framework/event-bus/event-bus.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export declare class EventBus {
|
||||
private events;
|
||||
constructor();
|
||||
emit(id: string, data: any): void;
|
||||
subscribe(id: string, subscriber: Function): void;
|
||||
}
|
||||
export declare class EventItem {
|
||||
id: string;
|
||||
subscribers: Function[];
|
||||
constructor(id: string);
|
||||
}
|
Reference in New Issue
Block a user