UNPKG

osrs-tools

Version:

A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information

29 lines 951 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Assignment = void 0; // A Class that represents an assignment of a task to a player. // An assignment is a specific instance of a task, with a specific quantity and requirements. // The assignment is the actual task given to a player, which is based on the Task. class Assignment { constructor(name, quantity, requirements, extendedAmountMin, extendedAmountMax) { this.name = name; this.quantity = quantity; this.requirements = requirements; this.extendedAmountMin = extendedAmountMin ?? null; this.extendedAmountMax = extendedAmountMax ?? null; } /** * Get the task name */ getName() { return this.name; } /** * Get the quantity of the task */ getQuantity() { return this.quantity; } } exports.Assignment = Assignment; //# sourceMappingURL=Assignment.js.map