Skip to content

Plugin

Plugin = (game) => void | Promise<void>

Adds a feature to the game: registers resources with game.set and systems with game.system. Pass plugins to createGame.

Game

void | Promise<void>