Example #1
0
        private bool CommandCanDefloat()
        {
            TileSelectTool tool = _currentTool as TileSelectTool;

            if (tool != null)
            {
                return(_selection != null && _selection.Floating == true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
        private bool CommandCanCut()
        {
            TileSelectTool tool = _currentTool as TileSelectTool;

            if (tool != null)
            {
                return(_selection != null);
            }
            else
            {
                return(false);
            }
        }