Initial
This commit is contained in:
18
resources/app/client/apps/hud/pause.js
Normal file
18
resources/app/client/apps/hud/pause.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Pause notification in the HUD
|
||||
* @extends {Application}
|
||||
*/
|
||||
class Pause extends Application {
|
||||
static get defaultOptions() {
|
||||
const options = super.defaultOptions;
|
||||
options.id = "pause";
|
||||
options.template = "templates/hud/pause.html";
|
||||
options.popOut = false;
|
||||
return options;
|
||||
}
|
||||
|
||||
/** @override */
|
||||
getData(options={}) {
|
||||
return { paused: game.paused };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user