コード例 #1
0
        public ModelGame(ControllerGame controller)
            : base(controller)
        {
            this.gameController = controller;

            InitializeField();
        }
コード例 #2
0
        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);

        }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }
コード例 #5
0
 //STOP ACTION PANEL
 public ModelGame(ControllerGame controller)
     : base(controller)
 {
     this.gameController = controller;
 }
コード例 #6
0
        public ModelGame(ControllerGame controller) : base(controller)
        {
            this.gameController = controller;

            InitializeField();
        }