|
@@ -41,13 +41,13 @@ export class Farmer extends cc.Component {
|
|
|
this.forwardMask.node.active = !(this.backMask.node.active = false);
|
|
this.forwardMask.node.active = !(this.backMask.node.active = false);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-return;
|
|
|
|
|
|
|
+//return;
|
|
|
if(this.refreshTime >=0)
|
|
if(this.refreshTime >=0)
|
|
|
{
|
|
{
|
|
|
this.refreshTime -= dt;
|
|
this.refreshTime -= dt;
|
|
|
}else{
|
|
}else{
|
|
|
this.refreshTime = 10;
|
|
this.refreshTime = 10;
|
|
|
- mk.fly.PlayCoinAnim(1, 3, this.fly_node, '', null, -1 ,2);
|
|
|
|
|
|
|
+ mk.fly2.PlayCoinAnim(1, 3, this.fly_node, '', null, -1 ,2);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|