/// <summary> /// Get shoot area around target free grid cell /// </summary> /// <param name="hitGCell"></param> /// <param name="freeGCell"></param> /// <param name="grid"></param> /// <returns></returns> public CellsGroup GetShootArea(GridCell hitGCell, GridCell freeGCell, BubbleGrid grid) { if (debug) { Debug.Log("shootbubble get shoot area"); } BoosterFunc bF = GetComponent <BoosterFunc>(); if (bF) { return(bF.GetShootArea(hitGCell, freeGCell, grid)); } else { return(grid.GetIdArea(freeGCell, MData.ID)); } }
public override CellsGroup GetShootArea(GridCell hitGridCell, GridCell freeGridCell, BubbleGrid grid) { return(grid.GetIdArea(freeGridCell, mainID)); }