mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
initial upload
This commit is contained in:
commit
1c65f10e24
58 changed files with 2533 additions and 0 deletions
29
model/skill.js
Normal file
29
model/skill.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* @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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue