GameEmitter()

new GameEmitter()

This class hooks onto a ton of game events to give an event-base programming approach via event handlers and subscription models

Fires:
  • event:torchActivate the event on a player activating a torch
To Do:
  • finish this class, right now it does nothing I think

Members

version

the version of funger that this emitter

Methods

emitTorch()

Fires:
  • event:torchActivate