// Learn cc.Class:
//  - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html

cc.Class({
    extends: require("BasePlayerStates"),
    //extends: require("BaseUiStates"),

    properties: {

    },

    // LIFE-CYCLE CALLBACKS:

    onLoad() {
        this._super();
        // this.init();
    },

    start() {

    },

    // update (dt) {},
    // init() {
    //     //角色脚本
    //     this.AITArr[0].string = this.hp;
    //     this.AITArr[1].string = this.endurance;
    //     this.AITArr[2].string = this.damage;
    //     this.AITArr[3].string = this.defense;
    //     this.AITArr[4].string = this.combo_rate;
    //     this.AITArr[5].string = this.crit_rate;
    //     this.AITArr[6].string = this.dodge_endurance;
    //     this.AITArr[7].string = this.defense_hp;
    //     this.AITArr[8].string = this.recover_hp;
    //     this.AITArr[9].string = this.recover_endurance;
    //     // this.controScp = this.playerController.getComponent('PlayerController');
    //     // this.charactortroScp = this.Charactor.getComponent('Charactor');
    // },

});