import RoleCFG from "../CFG/RoleCFG";

export class SkinData
{
    roleCFG:RoleCFG;
    /**
     * 0:未拥有，1：已经拥有
     */
    state:number = 0;

    hasnum:number = 0;
    

    /************************************ */
    private createText(): void {
        var txt:Laya.Text = new Laya.Text();

        txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商，面向AS/JS/TS开发者提供HTML5开发技术方案！";

        txt.width = 300;

        txt.fontSize = 40;
        txt.color = "#ffffff";

        //设置文本为多行文本
        txt.wordWrap = true;

        txt.x = Laya.stage.width - txt.textWidth >> 1;
        txt.y = Laya.stage.height - txt.textHeight >> 1;

        Laya.stage.addChild(txt);
    }
    /************************************ */


    
}