|
@@ -9,9 +9,13 @@ cc.Class({
|
|
|
properties: {
|
|
|
|
|
|
bgSpriteFrames: [cc.SpriteFrame],
|
|
|
+
|
|
|
+ effectSpriteFrames: [cc.SpriteFrame],
|
|
|
|
|
|
headSprite: cc.Sprite,
|
|
|
|
|
|
+ effectSprite: cc.Sprite,
|
|
|
+
|
|
|
nickRichText: cc.RichText,
|
|
|
|
|
|
jobLevelLabel: cc.Label,
|
|
@@ -46,6 +50,7 @@ cc.Class({
|
|
|
set: function (value) {
|
|
|
this._flag = value;
|
|
|
this._bgSprite.spriteFrame = this.bgSpriteFrames[value];
|
|
|
+ this.effectSprite.spriteFrame = this.effectSpriteFrames[value];
|
|
|
}
|
|
|
|
|
|
}
|