Class

HUD

HUD() → {HUD}

Constructor

# new HUD() → {HUD}

The builtin HUD system.

View Source hud.js, line 12

HUD

Methods

# show(config, callback) → {undefined}

Shows the default title screen system based the supplied config.
Parameters:
Name Type Description
config Object
callback Callback

View Source hud.js, line 33

undefined
Example
let config = {
   life: {
      image: "life.png",
      width: 32,
      height: 32
   }
};
hud.show(config, function() {rpgcode.log("hud closed";});