|
@@ -78,7 +78,6 @@ export default class UEGridMap extends UEBase {
|
|
|
this.gridLayer.on(cc.Node.EventType.TOUCH_CANCEL, this.OnTouchEnd, this);
|
|
|
this.initEvent(GridEvent.TRIGGER_EMITTER, this.TriggerEmitter);
|
|
|
this.initEvent(GridEvent.HC_INFO_RSP, this.LoadMapData);
|
|
|
- this.initEvent(GridEvent.HC_MERGE_RSP, this.OnHcMergeRsp);
|
|
|
this.initEvent(GridEvent.HC_FIGHT_OVER, this.OnHcFightOver);
|
|
|
this.initEvent(GridEvent.HC_CELL_SELECT, this.OnHcCellSelect);
|
|
|
}
|
|
@@ -146,16 +145,6 @@ export default class UEGridMap extends UEBase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- private OnHcMergeRsp(data: { cell: UECell, cube: HcInfoGeziInfo }) {
|
|
|
- let mergeCube = data.cell.CreateCube(data.cube);
|
|
|
- mergeCube.Init({
|
|
|
- type: data.cube.type,
|
|
|
- id: data.cube.correlationId,
|
|
|
- idx: data.cell.GetIdx(),
|
|
|
- });
|
|
|
- //播放经验爆炸飞行动画
|
|
|
-
|
|
|
- }
|
|
|
|
|
|
|
|
|
|