Ejemplo n.º 1
0
 public void HidePersonBuildingOrderBulletin()
 {
     _personWindow.Hide();
     _buildingWindow.Hide();
     BulletinWindow.Hide();
     _addOrderWindow.Hide();
 }
Ejemplo n.º 2
0
    /// <summary>
    /// Mian  input method
    /// </summary>
    /// <param name="action"></param>
    public void DetectMouseClick(string action)
    {
        //print("DetectMouseClick() :" + type);
        if (action == "Outside")
        {
            //for when is clicked on Main menu gives NullRef
            if (_addOrderWindow == null)
            {
                return;
            }

            _addOrderWindow.Hide();
            _buildingWindow.Hide();
            BulletinWindow.Hide();
            HelpWindow.Hide();

            //try to select person first
            if (!SelectPerson())
            {
                //if coulndt then try to select build
                if (!SelectClickedBuild())
                {
                    //if was not posible to seelct a building
                    HidePersonBuildOrderNotiWindows();

                    var tryBuy = SelectSellRegion();
                }
            }
        }
        else if (action != "")
        {
            ActionFromForm(action);
        }
    }
Ejemplo n.º 3
0
    public void HidePersonBuildOrderNotiBulletinHelpWin()
    {
        HidePersonBuildOrderNotiWindows();

        _buildingsMenu.Hide();
        _descriptionWindow.Hide();

        _buildingWindow.Hide();
        BulletinWindow.Hide();
        _helpWindow.Hide();

        QuestWindow.Hide();
    }