import Main from "../../../main/Main";
import GoodItem from "../../common/GoodItem";
import { EquipAttr } from "../../data/udata/Player";

/**
 * 装备节点
 */
const {ccclass, property} = cc._decorator;

@ccclass
export default class EquipItem extends GoodItem {
    

    public initEquip(main:Main,equip:EquipAttr){
        super.initEquip(main,equip)
    }
    
    public setLock(){
        this.equip = null;
        this.equipData = null;
        this.data = null;
        this.good = null;
        this.mBG.spriteFrame = this.mBGs[1];
        this.mNullNode.active = false;
        this.callback = null;
    }
}
