示例#1
0
        // Disappear: 直接消失,无动画
        public bool DisappearAt(Hex coord)
        {
            CellObjCtrl cctrl        = _GridCtrl.GetCellCtrlAt(coord);
            bool        bDisappeared = _MiroMgr.DisappearMiroAtCellCtrl(cctrl);

            return(bDisappeared);
        }
示例#2
0
        public CellObjCtrl Cancel()
        {
            if (_bControlDragRotator)
            {
                TurnDragRotatorForCellObjCtrl(_cctrl, false);
            }

            _NewCancelCtrl = _cctrl;
            _Cancel.Invoke(_NewCancelCtrl);

            _mgr.DisappearMiroAtCellCtrl(_NewCancelCtrl);

            //_NewCancelCtrl.DisappearTgtObj ();

            _cctrl = null;

            return(_NewCancelCtrl);
        }