All files / Hungry-Hippo-Game/src/game EventBus.ts

0% Statements 0/4
0% Branches 0/1
0% Functions 0/1
0% Lines 0/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4       
import { Events } from 'phaser';

// Used to emit events between components, HTML and Phaser scenes
export const EventBus = new Events.EventEmitter();