public ModelGame(ControllerGame controller) : base(controller) { this.gameController = controller; InitializeField(); }
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); }
private void InitializeComponent() { menu = new ControllerMenu(this); game = new ControllerGame(this); levelSelect = new ControllerLevelSelect(this); highscores = new ControllerHighscores(this); this.setController(ScreenStates.menu); 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.Name = "Form1"; this.Text = "Windesheim Warriors"; this.ResumeLayout(false); }
//STOP ACTION PANEL public ModelGame(ControllerGame controller) : base(controller) { this.gameController = controller; }