feat: panel

This commit is contained in:
bietiaop 2024-07-13 17:52:31 +08:00
parent 35c8c95b80
commit 27171c5727
77 changed files with 2126 additions and 312 deletions

View file

@ -17,11 +17,14 @@ export class SkillItem {
*/
export class Skill {
/**
* @param {number} level
* @param {number} skill_type
* @param {SkillItem[]} items
* @param {{
* level: number,
* skill_type: number,
* items: SkillItem[]
* }} data
*/
constructor(level, skill_type, items) {
constructor(data) {
const { level, skill_type, items } = data;
this.level = level;
this.skill_type = skill_type;
this.items = items;