Ejemplo n.º 1
0
        public ScreenVignette()
        {
            InitializeWidget();



            showGUI              = new TapGestureDetector();
            showGUI.TapDetected += ShowGUIEvent;
            ShowGUI.AddGestureDetector(showGUI);

            StartingTownTGD              = new TapGestureDetector();
            StartingTownTGD.TapDetected += HandleTapDetected;
            StartingTownButton.AddGestureDetector(StartingTownTGD);

            Town2TGD              = new TapGestureDetector();
            Town2TGD.TapDetected += HandleTapDetected;
            StrongHold2Button.AddGestureDetector(Town2TGD);

            Town3TGD              = new TapGestureDetector();
            Town3TGD.TapDetected += HandleTapDetected;
            Town3Button.AddGestureDetector(Town3TGD);

            BossTownTGD              = new TapGestureDetector();
            BossTownTGD.TapDetected += HandleTapDetected;
            BossTownButton.AddGestureDetector(BossTownTGD);

            LumberMill1TGD              = new TapGestureDetector();
            LumberMill1TGD.TapDetected += HandleTapDetected;
            LumberMill1Button.AddGestureDetector(LumberMill1TGD);

            LumberMill2TGD              = new TapGestureDetector();
            LumberMill2TGD.TapDetected += HandleTapDetected;
            LumberMill2Button.AddGestureDetector(LumberMill2TGD);

            IronMineTGD              = new TapGestureDetector();
            IronMineTGD.TapDetected += HandleTapDetected;
            IronMineButton.AddGestureDetector(IronMineTGD);

            ContinueTGD              = new TapGestureDetector();
            ContinueTGD.TapDetected += HandleTapDetected;
            Continue.AddGestureDetector(ContinueTGD);

            GotoButton.ButtonAction += HandleGotoButtonButtonAction;
            Visit.ButtonAction      += HandleVisitButtonAction;
            Close.ButtonAction      += HandleCloseButtonAction;

            UpdateIAmHere();
        }