Esempio n. 1
0
        public MainForm()
        {
            InitializeComponent();
            interfaceManager = new InterfaceManager(startControl, exitControl, mapChoosingControl, levelControl);
            interfaceManager.StageChanged += Game_OnStageChanged;

            ShowStartScreen();
        }
Esempio n. 2
0
        public void Configure(InterfaceManager interfaceManager)
        {
            if (this.interfaceManager != null)
            {
                return;
            }

            this.interfaceManager = interfaceManager;

            Back.Click += Back_Click;
        }
Esempio n. 3
0
        public void Configure(InterfaceManager interfaceManager)
        {
            if (this.interfaceManager != null)
            {
                return;
            }

            this.interfaceManager = interfaceManager;

            YESButton.Click += YESButton_Click;
            NOButton.Click  += NOButton_Click;
        }
Esempio n. 4
0
        public void Configure(InterfaceManager interfaceManager)
        {
            if (this.interfaceManager != null)
            {
                return;
            }

            this.interfaceManager = interfaceManager;

            startButton.Click += StartButton_Click;
            ExitButton.Click  += ExitButton_Click;
        }
Esempio n. 5
0
 public void Configure(InterfaceManager interfaceManager)
 {
     this.interfaceManager = interfaceManager;
     timer.Start();
 }