public void Clean(GameObjectsSet gOS)
        {
            Action <List <CellData> > cAction = (arr) =>
            {
                if (arr != null)
                {
                    arr.RemoveAll((c) =>
                    {
                        return(!BubbleGrid.ok(c.Row, c.Column, vertSize, horSize));
                    });

                    if (gOS)
                    {
                        arr.RemoveAll((c) =>
                        {
                            return(!gOS.ContainID(c.ID));
                        });
                    }
                }
            };

            cAction(featuredCells);
            cAction(overlays);
            SetAsDirty();
        }
 /// <summary>
 /// Remove cells with  (c.column >= horSize) && (c.row >= vertSize)
 ///
 /// </summary>
 /// <param name="list"></param>
 private void CleanOveralyObjects(List <CellData> list)
 {
     if (list != null && mSet != null)
     {
         list.RemoveAll((c) => { return(!BubbleGrid.ok(c.Row, c.Column, vertSize, horSize) || !mSet.ContainOverlayID(c.ID)); });
     }
 }
        public void OpenGridSettingsPanel_Click()
        {
            Debug.Log("open grid settings click");
            BubbleGrid grid = MBoard.grid;

            ScrollPanelController sRC = GridPanelContainer.ScrollPanel;

            if (sRC) //
            {
                if (sRC)
                {
                    sRC.CloseScrollPanel(true, null);
                }
            }
            else
            {
                CloseOpenedPanels();

                //instantiate ScrollRectController
                sRC = GridPanelContainer.InstantiateScrollPanel();
                sRC.textCaption.text = "Grid panel";

                //create  vert size block
                IncDecInputPanel.Create(sRC.scrollContent, IncDecGridPrefab, "VertSize", grid.Rows.Count.ToString(),
                                        () => { IncVertSize(); },
                                        () => { DecVertSize(); },
                                        (val) => {  },
                                        () => { return(grid.Rows.Count.ToString()); },
                                        null);

                //create hor size block
                IncDecInputPanel.Create(sRC.scrollContent, IncDecGridPrefab, "HorSize", LCSet.HorSize.ToString(),
                                        () => { IncHorSize(); },
                                        () => { DecHorSize(); },
                                        (val) => { },
                                        () => { return(LCSet.HorSize.ToString()); },
                                        null);

                //create background block
                IncDecInputPanel.Create(sRC.scrollContent, IncDecGridPrefab, "BackGrounds", LCSet.backGroundNumber.ToString(),
                                        () => { IncBackGround(); },
                                        () => { DecBackGround(); },
                                        (val) => { },
                                        () => { return(LCSet.backGroundNumber.ToString()); },
                                        null);
                sRC.OpenScrollPanel(null);
            }
        }
Example #4
0
        /// <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 void OpenMainBrushPanel_Click()
        {
            Debug.Log("open main brush click");
            BubbleGrid        grid = GameBoard.Instance.grid;
            LevelConstructSet lcs  = GameBoard.Instance.gcSet.GetLevelConstructSet(BubblesPlayer.CurrentLevel);

            ScrollPanelController sRC = MainBrushContainer.ScrollPanel;

            if (sRC) //
            {
                sRC.CloseScrollPanel(true, null);
            }
            else
            {
                CloseOpenedPanels();
                //instantiate ScrollRectController
                sRC = MainBrushContainer.InstantiateScrollPanel();
                sRC.textCaption.text = "Main brush panel";

                List <BaseObjectData> mData = new List <BaseObjectData>();
                mData.Add(lcs.Matchset.Empty);
                if (lcs.Matchset.MainObjects != null)
                {
                    foreach (var item in lcs.Matchset.MainObjects)
                    {
                        mData.Add(item);
                    }
                }

                //create main bubbles brushes
                for (int i = 0; i < mData.Count; i++)
                {
                    BaseObjectData mD = mData[i];
                    CreateButton(smallButtonPrefab, sRC.scrollContent, mD.ObjectImage, () =>
                    {
                        Debug.Log("Click on Button <" + mD.ID + "...> ");
                        mainBrush             = (!GameObjectsSet.IsEmptyObject(mD.ID)) ? lcs.Matchset.GetMainObject(mD.ID) : lcs.Matchset.Empty;
                        mainBrushImage.sprite = mainBrush.ObjectImage;
                        SelectMainBrush();
                    });
                }
                sRC.OpenScrollPanel(null);
            }
        }
Example #6
0
        private void CreateMap(BubbleGrid grid)
        {
            pfCells = new List <PFCell>(grid.Cells.Count);

            // create all pfcells
            foreach (var item in grid.Cells)
            {
                PFCell pfc = new PFCell(item);
                pfc.available = (item.Mainobject == null);
                item.pfCell   = pfc;
                pfCells.Add(pfc);
            }

            // set pfcell neighborns
            foreach (var item in pfCells)
            {
                item.CreateNeighBorns();
            }
        }
        public void OpenShootBubblestPanel_Click()
        {
            Debug.Log("shoot bubble click");
            BubbleGrid        grid = GameBoard.Instance.grid;
            LevelConstructSet lcs  = GameBoard.Instance.gcSet.GetLevelConstructSet(BubblesPlayer.CurrentLevel);

            //ScrollPanelController sRC = ShootBubbleContainer.ScrollPanel;
            //if (sRC) //
            //{
            //    sRC.CloseScrollPanel(true, null);
            //}
            //else
            //{
            //    CloseOpenedPanels();

            //List<BaseObjectData> mData = new List<BaseObjectData>();
            //// mData.Add(lcs.Matchset.Empty);
            //if (lcs.Matchset.MainObjects != null)
            //    foreach (var item in lcs.Matchset.MainObjects)
            //    {
            //        if (item.canUseAsShootBubbles) mData.Add(item);
            //    }

            ////create shoot bubble buttons
            //for (int i = 0; i < mData.Count; i++)
            //{
            //    BaseObjectData mD = mData[i];
            //    Button b = CreateButton(smallButtonPrefab, parent.transform, mD.ObjectImage, () =>
            //       {
            //           Debug.Log("Click on Button <" + mD.Name + "...> ");
            //           lcs.AddShootBubble(mD.ID);
            //           ShowLevelData();
            //       });

            //    if (lcs.shootBubbles.Contains(mD.ID))
            //    {
            //        SelectButton(b);
            //    }

            //}
            //    sRC.OpenScrollPanel(null);
            //}
        }
Example #8
0
        public void UpdateMap(BubbleGrid grid)
        {
            // check if grid size
            int gCount  = grid.Cells.Count;
            int pfCount = pfCells.Count;

            if (gCount == pfCount && grid.Cells[0] == pfCells[0].gCell && grid.Cells[gCount - 1] == pfCells[pfCount - 1].gCell)
            {
                // UnityEngine.Debug.Log("Refresh map");
                foreach (var item in pfCells)
                {
                    item.mather    = null; // item.openClose = 0; item.fCost = 0;item.gCost = 0; item.hCost = 0;
                    item.available = (item.gCell.Mainobject == null);
                }
            }
            else
            {
                CreateMap(grid);
            }
        }
Example #9
0
 public void InitStart(BubbleGrid grid, GridCell gCell)
 {
     if (grid == null || !gCell)
     {
         return;
     }
     map = new Map(grid);
     gameObject.SetActive(true);
     this.grid            = grid;
     anchored             = gCell;
     target               = gCell;
     topRow               = grid.Rows[0];
     pF                   = new PathFinder();
     transform.localScale = gCell.transform.lossyScale;
     SimpleTween.Move(gameObject, transform.position, target.transform.position, 2.5f).AddCompleteCallBack(() => {
         canUpdate        = true;
         moving           = false;
         transform.parent = gridParent;
         UpdatePath();
     });
 }
        //#region gift
        //public void OpenGiftPanel_Click()
        //{
        //    Debug.Log("open click");
        //    ScrollPanelController sRC = GiftPanelContainer.ScrollPanel;
        //    if (sRC) //
        //    {
        //        if (sRC) sRC.CloseScrollPanel(true, null);
        //    }
        //    else
        //    {
        //        //instantiate ScrollRectController
        //        sRC = GiftPanelContainer.InstantiateScrollPanel();
        //        sRC.textCaption.text = "Gift panel";

        //        LevelConstructSet lcSet = GameBoard.Instance.gcSet.GetLevelConstructSet(BubblesPlayer.CurrentLevel);
        //        GameConstructSet gcSet = GameBoard.Instance.gcSet;
        //        GiftConstruct levelGift = gcSet.gift;

        //        //create life gift
        //        IncDecInputPanel.Create(sRC.scrollContent, IncDecPanelPrefab, "Life", levelGift.Life.ToString(),
        //            () => { levelGift.AddLifes(1); },
        //            () => { levelGift.AddLifes(-1); },
        //            (val) => { int res; bool good = int.TryParse(val, out res); if (good) { levelGift.SetLifesCount(res); }},
        //            () => { return levelGift.Life.ToString(); },
        //            null);

        //        //create coins gift
        //        IncDecInputPanel.Create(sRC.scrollContent, IncDecPanelPrefab, "Coins", levelGift.Coins.ToString(),
        //        () => { levelGift.AddCoins(1); },
        //        () => { levelGift.AddCoins(-1); },
        //        (val) => { int res; bool good = int.TryParse(val, out res); if (good) { levelGift.SetCoinsCount(res); } },
        //        () => { return levelGift.Coins.ToString(); },
        //        null);

        //        //create booster gift
        //        GameObjectsSet goSet = lcSet.Matchset;
        //        IList<BoosterObjectData> bDataL = goSet.BoosterObjects;
        //        foreach (var item in bDataL)
        //        {
        //            int id = item.ID;
        //            IncDecInputPanel.Create(sRC.scrollContent, IncDecPanelPrefab, "Booster", levelGift.GetBoosterCount(id).ToString(),
        //            () => { levelGift.AddBooster(id); },
        //            () => { levelGift.RemoveBooster(id); },
        //            (val) => { int res; bool good = int.TryParse(val, out res); if (good) { levelGift.SetBoosterCount(res, id); } },
        //            () => { return levelGift.GetBoosterCount(id).ToString(); },
        //            item.GuiImage);
        //        }

        //        sRC.OpenScrollPanel(null);
        //    }
        //}
        //#endregion gift

        #region mission
        public void OpenMissionPanel_Click()
        {
            Debug.Log("open mission click");
            BubbleGrid grid = GameBoard.Instance.grid;

            ScrollPanelController sRC = MissionPanelContainer.ScrollPanel;

            if (sRC) //
            {
                sRC.CloseScrollPanel(true, null);
            }
            else
            {
                CloseOpenedPanels();
                //instantiate ScrollRectController
                sRC = MissionPanelContainer.InstantiateScrollPanel();
                sRC.textCaption.text = "Mission panel";

                LevelConstructSet lcSet        = GameBoard.Instance.gcSet.GetLevelConstructSet(BubblesPlayer.CurrentLevel);
                MissionConstruct  levelMission = lcSet.levelMission;

                //create mission moves constrain
                IncDecInputPanel.Create(sRC.scrollContent, IncDecPanelPrefab, "Moves", levelMission.MovesConstrain.ToString(),
                                        () => { levelMission.AddMoves(1); },
                                        () => { levelMission.AddMoves(-1); },
                                        (val) => { int res; bool good = int.TryParse(val, out res); if (good)
                                                   {
                                                       levelMission.SetMovesCount(res);
                                                   }
                                        },
                                        () => { return(levelMission.MovesConstrain.ToString()); },
                                        null);

                //create time constrain
                IncDecInputPanel.Create(sRC.scrollContent, IncDecPanelPrefab, "Time", levelMission.TimeConstrain.ToString(),
                                        () => { levelMission.AddTime(1); },
                                        () => { levelMission.AddTime(-1); },
                                        (val) => { int res; bool good = int.TryParse(val, out res); if (good)
                                                   {
                                                       levelMission.SetTime(res);
                                                   }
                                        },
                                        () => { return(levelMission.TimeConstrain.ToString()); },
                                        null);

                //description input field
                IncDecInputPanel.Create(sRC.scrollContent, InputTextPanelMissionPrefab, "Description", levelMission.Description,
                                        null,
                                        null,
                                        (val) => { levelMission.SetDescription(val); },
                                        () => { return(levelMission.Description); },
                                        null);

                // create clean top row check box condition
                IncDecInputPanel.Create(sRC.scrollContent, TogglePanelMissionPrefab, "Clean top row", null,
                                        levelMission.LoopTopRow,
                                        null,
                                        null,
                                        null,
                                        (val) => { levelMission.SetLoopTopRow(val); },
                                        null,
                                        null);

                // create raise anchor check box condition
                IncDecInputPanel.Create(sRC.scrollContent, TogglePanelMissionPrefab, "Raise anchor", null,
                                        levelMission.RaiseAnchor,
                                        null,
                                        null,
                                        null,
                                        (val) => { levelMission.SetRaiseAnchor(val); },
                                        null,
                                        null);


                //create object targets
                GameObjectsSet         goSet  = lcSet.Matchset;
                IList <BaseObjectData> tDataL = goSet.TargetObjects;
                foreach (var item in tDataL)
                {
                    if (item != null)
                    {
                        Debug.Log("target ID: " + item.ID);
                        int id = item.ID;
                        IncDecInputPanel.Create(sRC.scrollContent, IncDecTogglePanelMissionPrefab, "Target", levelMission.GetTargetCount(id).ToString(),
                                                levelMission.GetTargetCount(id) == 10000,
                                                () => { levelMission.AddTarget(id, 1); },
                                                () => { levelMission.RemoveTarget(id, 1); },
                                                (val) => { int res; bool good = int.TryParse(val, out res); if (good)
                                                           {
                                                               levelMission.SetTargetCount(id, res);
                                                           }
                                                },
                                                (val) => { if (val)
                                                           {
                                                               levelMission.SetTargetCount(id, 10000);
                                                           }
                                                           else
                                                           {
                                                               levelMission.SetTargetCount(id, 0);
                                                           } },
                                                () => { return(levelMission.GetTargetCount(id).ToString()); }, // grid.GetObjectsCountByID(id).ToString()); },
                                                item.GuiImage);
                    }
                }

                sRC.OpenScrollPanel(null);
            }
        }
Example #11
0
 public override CellsGroup GetShootArea(GridCell hitGridCell, GridCell freeGridCell, BubbleGrid grid)
 {
     return(grid.GetColumnArea(hitGridCell));
 }
Example #12
0
        public virtual CellsGroup GetShootArea(GridCell hitGridCell, GridCell freeGridCell, BubbleGrid grid)
        {
            Debug.Log("base get shoot area");
            CellsGroup cG = new CellsGroup();

            return(cG);
        }
Example #13
0
        public WinController(MissionConstruct mc, GameBoard gB, BubblesShooter bubblesShooter, Action LevelWin, Action LevelLoose, Action CheckTargetResult, TextMesh outTimerText, TextMesh outMovesText)
        {
            bGrid                   = gB.grid;
            anchor                  = gB.anchor;
            LevelWinEvent          += LevelWin;
            LevelLooseEvent        += LevelLoose;
            CheckTargetResultEvent += CheckTargetResult;

            timeCostrain  = mc.TimeConstrain;
            movesCostrain = mc.MovesConstrain;
            movesRest     = movesCostrain;
            loopTopRow    = mc.LoopTopRow;
            TopRowBubblesCountToCollect = Mathf.Min(mc.BubblesCount, bGrid.TopObjectRow.GetNotEmptyCells().Count); // default 6 bubbles in mission construct
            // Debug.Log( "loop: " + mc.BubblesCount + " : " + bGrid.TopObjectRow.GetNotEmptyCells().Count);
            raiseAnchor   = mc.RaiseAnchor;
            targets       = mc.Targets;
            GameLevelType = mc.GetLevelType();

            topRowBubblesCountAtStart = bGrid.TopObjectRow.GetNotEmptyCells().Count;

            targetsToCollect          = new Dictionary <int, int>();
            onBoardTargetsAtStart     = new Dictionary <int, int>();
            onBoardTargetsAtCheckTime = onBoardTargetsAtStart;

            useObjecTargets = (targets != null && targets.Count > 0);


            if (useObjecTargets)
            {
                foreach (var item in targets.ObjectsList) // use only first target
                {
                    targetID = item.ID;
                    int id     = item.ID;
                    int count  = item.Count;
                    int bCount = bGrid.GetObjectsCountByID(id);
                    Debug.Log("target: " + id + " : " + Mathf.Min(count, bCount));
                    if (!targetsToCollect.ContainsKey(id) && Mathf.Min(count, bCount) > 0)
                    {
                        targetsToCollect.Add(id, Mathf.Min(count, bCount));
                        onBoardTargetsAtStart.Add(id, Mathf.Min(count, bCount));
                        Debug.Log(" add target: " + id + " : " + Mathf.Min(count, bCount));
                    }

                    break; // use only first target
                }
            }

            GameResult = GameResult.None;
            if (timeCostrain > 0)
            {
                Timer = new SessionTimer(timeCostrain);
                //Timer.Start();

                UseTimer = true;
                Timer.OnTickRestSeconds = (sec) => { timeRest = (int)sec; if (timeRest <= 30 && !timeLeftShowed)
                                                     {
                                                         timeLeftShowed = true; GuiController.Instance.ShowMessageTimeLeft("Warning!", "30 seconds left", 1);
                                                     }
                };
                Timer.OnTimePassed = () => { if (GameResult == GameResult.None)
                                             {
                                                 CheckResult(false, false);
                                             }
                };

                if (outMovesText)
                {
                    outMovesText.gameObject.SetActive(false);
                }

                if (outTimerText)
                {
                    if (outTimerText)
                    {
                        outTimerText.gameObject.SetActive(true);
                    }
                    Timer.OnTickRestSeconds += (sec) => { outTimerText.text = sec.ToString(); };
                }
            }
            else
            {
                if (outTimerText)
                {
                    if (outTimerText)
                    {
                        outTimerText.gameObject.SetActive(false);
                    }
                }
                if (outMovesText)
                {
                    outMovesText.gameObject.SetActive(true);
                    outMovesText.text = movesRest.ToString();
                }
                bubblesShooter.ShootEvent += () =>
                {
                    if (!UseTimer)
                    {
                        movesRest--;
                        if (outMovesText)
                        {
                            outMovesText.text = movesRest.ToString();
                            if (movesRest == 5)
                            {
                                counterTweenID = SimpleTween.Value(outMovesText.gameObject, 1.0f, 0.5f, 0.5f).SetEase(EaseAnim.EaseLinear).
                                                 SetOnUpdate((float val) => { if (this != null && outMovesText)
                                                                              {
                                                                                  outMovesText.color = new Color(1, val, val, 1);
                                                                              }
                                                                              else
                                                                              {
                                                                                  SimpleTween.Cancel(counterTweenID, false);
                                                                              } }).SetCycled().ID;
                            }
                            if (movesRest == 0)
                            {
                                SimpleTween.Cancel(outMovesText.gameObject, false);
                            }
                        }
                    }
                };
            }

            Debug.Log("GameLevelType : " + GameLevelType);
            CheckTopRow();
            CheckTargetsOnBoard();
        }
Example #14
0
 public Map(BubbleGrid grid)
 {
     CreateMap(grid);
 }
Example #15
0
        /// <summary>
        /// Create gameboard and move to bottom visible row
        /// </summary>
        /// <param name="move"></param>
        internal void CreateGameBoard(bool move)
        {
            Debug.Log("level set: " + LcSet.name);
            Debug.Log("curr level: " + BubblesPlayer.CurrentLevel);
            BackGround = GoSet.BackGround(LcSet.BackGround);
            int vertSize = (LcSet.VertSize > 0) ? LcSet.VertSize : 10;
            int horSize  = (LcSet.HorSize > 0) ? LcSet.HorSize : 10;

            List <CellData> mainObjectsData = LcSet.featuredCells;
            List <CellData> overObjectsData = LcSet.overlays;

            float scale = LcSet.Scale;

            if (gMode == GameMode.Play)
            {
                if (grid != null)
                {
                    grid.DestroyGrid();
                }
                grid = new BubbleGrid(LcSet, GoSet, GridContainer, SortingOrder.Base, gMode);
                grid.AddEmptyRow();
            }
            else
            {
                if (grid != null)
                {
                    grid.Rebuild(LcSet, GoSet, SortingOrder.Base, gMode);
                }
                else
                {
                    grid = new BubbleGrid(LcSet, GoSet, GridContainer, SortingOrder.Base, gMode);
                }
#if UNITY_EDITOR
                // set cells delegates for constructor
                for (int i = 0; i < grid.Cells.Count; i++)
                {
                    grid.Cells[i].PointerDownEvent = (c) =>
                    {
                        if (c.Row < LcSet.VertSize) // don't using reserved rows
                        {
                            gConstructor.GetComponent <GameConstructor>().Cell_Click(c);
                        }
                    };

                    grid.Cells[i].DragEnterEvent = (c) =>
                    {
                        if (c.Row < LcSet.VertSize) // don't using reserved rows
                        {
                            gConstructor.GetComponent <GameConstructor>().Cell_Click(c);
                        }
                    };
                }
#endif
            }
            if (move)
            {
                grid.MoveToVisible(() =>
                {
                    if (gMode == GameMode.Play)
                    {
                        if (anchor)
                        {
                            if (WController.GameLevelType == LevelType.AnchorLevel)
                            {
                                anchor.gameObject.SetActive(true);
                                anchor.InitStart(grid, grid.GetBottomRow()[5]);
                            }
                            else
                            {
                                anchor.gameObject.SetActive(false);
                            }
                        }
                        if (WController.GameLevelType == LevelType.TimeLevel)
                        {
                            WController.Timer.Start();
                        }
                    }
                });
            }
        }
        public void OpenGridSettingsPanel_Click()
        {
            Debug.Log("open grid settings click");
            BubbleGrid grid = GameBoard.Instance.grid;

            ScrollPanelController sRC = GridPanelContainer.ScrollPanel;

            if (sRC) //
            {
                if (sRC)
                {
                    sRC.CloseScrollPanel(true, null);
                }
            }
            else
            {
                CloseOpenedPanels();
                //instantiate ScrollRectController
                sRC = GridPanelContainer.InstantiateScrollPanel();
                sRC.textCaption.text = "Grid panel";

                LevelConstructSet lcSet        = GameBoard.Instance.gcSet.GetLevelConstructSet(BubblesPlayer.CurrentLevel);
                MissionConstruct  levelMission = lcSet.levelMission;

                //create  vert size block
                IncDecInputPanel.Create(sRC.scrollContent, IncDecGridPrefab, "VertSize", grid.Rows.Count.ToString(),
                                        () => { IncVertSize(); },
                                        () => { DecVertSize(); },
                                        (val) => {  },
                                        () => { return(grid.Rows.Count.ToString()); },
                                        null);

                //create hor size block
                IncDecInputPanel.Create(sRC.scrollContent, IncDecGridPrefab, "HorSize", lcSet.HorSize.ToString(),
                                        () => { IncHorSize(); },
                                        () => { DecHorSize(); },
                                        (val) => { },
                                        () => { return(lcSet.HorSize.ToString()); },
                                        null);

                //create background block
                IncDecInputPanel.Create(sRC.scrollContent, IncDecGridPrefab, "BackGrounds", lcSet.backGroundNumber.ToString(),
                                        () => { IncBackGround(); },
                                        () => { DecBackGround(); },
                                        (val) => { },
                                        () => { return(lcSet.backGroundNumber.ToString()); },
                                        null);

                //create game object set block
                GameObjectsSet ms      = lcSet.Matchset;
                int            indexMS = MatchSets.IndexOf(ms);
                IncDecInputPanel.Create(sRC.scrollContent, IncDecGridPrefab, "GameSets", ms.name.ToString(),
                                        () => { if (indexMS < 0 || MatchSets.Count < 1)
                                                {
                                                    return;
                                                }
                                                indexMS = (int)Mathf.Repeat(++indexMS, MatchSets.Count); lcSet.Matchset = MatchSets[indexMS]; ShowLevelData(); },
                                        () => { if (indexMS < 0 || MatchSets.Count < 1)
                                                {
                                                    return;
                                                }
                                                indexMS = (int)Mathf.Repeat(--indexMS, MatchSets.Count); lcSet.Matchset = MatchSets[indexMS]; ShowLevelData(); },
                                        (val) => { },
                                        () => { return(lcSet.Matchset.name.ToString()); },
                                        null);


                sRC.OpenScrollPanel(null);
            }
        }
Example #17
0
 public override CellsGroup GetShootArea(GridCell hitGridCell, GridCell freeGridCell, BubbleGrid grid)
 {
     return(grid.GetIdArea(freeGridCell, mainID));
 }