Example #1
0
        private void TogglePossibleBuilds(object sender, Button.ClickEventArgs args)
        {
            if (interf.AccessRights == Viewer.Access.Player)
            {
                interf.TogglePossibleBuilds();
            }
            else
            {
                interf.ResetPossibleBuilds();
            }

            interf.ClosePopup();
        }