mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-15 12:47:48 +00:00
29 lines
462 B
JavaScript
29 lines
462 B
JavaScript
/**
|
|
* @class
|
|
*/
|
|
export class SkillItem {
|
|
/**
|
|
* @param {string} title
|
|
* @param {string} text
|
|
*/
|
|
constructor(title, text) {
|
|
this.title = title;
|
|
this.text = text;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @class
|
|
*/
|
|
export class Skill {
|
|
/**
|
|
* @param {number} level
|
|
* @param {number} skill_type
|
|
* @param {SkillItem[]} items
|
|
*/
|
|
constructor(level, skill_type, items) {
|
|
this.level = level;
|
|
this.skill_type = skill_type;
|
|
this.items = items;
|
|
}
|
|
}
|