UNPKG

ggejs

Version:

A powerful Node.js module for interacting with the server of Goodgame Empire & Goodgame Empire: Four Kingdoms

21 lines (18 loc) 573 B
const FactionInteractiveMapobject = require("./FactionInteractiveMapobject"); const Localize = require("../../tools/Localize"); class FactionCampMapobject extends FactionInteractiveMapobject { #client; /** * @param {BaseClient} client * @param {Array} data */ constructor(client, data) { super(client, data); this.#client = client; this.isDestroyed = data[18] === 1; } get areaName() { return Localize.text(this.#client, "faction_camp") } } module.exports = FactionCampMapobject;