private void InitializeComponent()
        {
            highscoreInput = new ControllerHighscoreInput(this);
            menu = new ControllerMenu(this);
            game = new ControllerGame(this);
            levelSelect = new ControllerLevelSelect(this);
            highscores = new ControllerHighscores(this);
            editorSelect = new ControllerEditorSelect(this);
            editor = new ControllerEditor(this);



            this.SuspendLayout();

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1280, 720);
            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.BackColor = Color.White;

            this.Name = "Form1";
            this.Text = "Windesheim Warriors";
            this.Icon = global::WindesHeim_Game.Properties.Resources.IconWINico;
            this.ResumeLayout(false);

            this.setController(ScreenStates.menu);

        }
Esempio n. 2
0
 public ModelEditorSelect(ControllerEditorSelect controller)
     : base(controller)
 {
     this.editorSelectController = controller;
 }