Skip to content
On this page

Module: game/events

Interfaces

Variables

globalBus

Const globalBus: Emitter<GlobalEvents>

A global event bus for hooking into GlobalEvents.

Defined in

profectus/src/game/events.ts:51

Functions

startGameLoop

startGameLoop(): Promise<void>

Starts the game loop for the project, which updates the game in ticks.

Returns

Promise<void>