dd
This commit is contained in:
@@ -24,7 +24,7 @@ export class MapViewComp extends CCComp {
|
||||
/** 当前地图数据 */
|
||||
current_map: any;
|
||||
/** 转场碰撞点对象集合 */
|
||||
|
||||
private game_timer: Timer = new Timer(1);
|
||||
private monster_refresh_rtimer: Timer = new Timer(3);
|
||||
|
||||
private mapLoaded() {
|
||||
@@ -56,6 +56,9 @@ export class MapViewComp extends CCComp {
|
||||
if (this.monster_refresh_rtimer.update(dt)) {
|
||||
this.monster_refresh()
|
||||
}
|
||||
if (this.game_timer.update(dt)) {
|
||||
smc.vm_data.game.g_time += 1;
|
||||
}
|
||||
// this.shuaxin(dt)
|
||||
this.gold_add(dt)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user