更新一下const的使用

This commit is contained in:
luying
2020-12-09 17:23:15 +08:00
parent 0bec9d8020
commit b052568832
10 changed files with 69 additions and 56 deletions

View File

@@ -7,7 +7,7 @@ export default class Actor {
private lv: number = 0;
private oldCe: number = 0;
private star: number = 0;
private fire: number = 0;
private colorStar: number = 0;
private equips: Array<any> = [];
private conections: Array<{id: number;name: string;valid: boolean;}> = [];
/**被动技能 */
@@ -19,9 +19,9 @@ export default class Actor {
this.lv = hero.lv;
this.oldCe = hero.ce;
this.star = hero.star;
this.fire = hero.fire;
this.colorStar = hero.colorStar;
this.equips = hero.equips;
console.log(this.hid, this.lv, this.oldCe, this.star, this.fire, this.conections);
console.log(this.hid, this.lv, this.oldCe, this.star, this.colorStar, this.conections);
this.updateActorEffect();
}