ggejs
Version:
A powerful Node.js module for interacting with the server of Goodgame Empire & Goodgame Empire: Four Kingdoms
24 lines (20 loc) • 674 B
JavaScript
const SeaqueenMapObject = require("./SeaqueenMapObject");
const Localize = require("../../tools/Localize");
class SeaqueenMapKrakenObject extends SeaqueenMapObject {
#client;
/**
* @param {BaseClient} client
* @param {number} type
* @param {number} x
* @param {number} y
*/
constructor(client, type, x = -1, y = -1) {
super(client, type, x, y);
this.#client = client;
}
get areaName() {
/*if (isUnlocked) */return Localize.text(this.#client, "bladecoast_finalboss");
return Localize.text(this.#client, "bladecoast_fog");
}
}
module.exports = SeaqueenMapKrakenObject;