示例#1
0
        private void GameView_Load(object sender, EventArgs e)
        {
            ScoreboardView scoreboard = gameController.getViewScoreboard();
            MexicoView     mexico     = gameController.getViewMexico();

            mexico.Location = new Point(0, scoreboard.Height);

            Controls.Add(scoreboard);
            Controls.Add(mexico);
        }
 public MexicoController(GameController cont)
 {
     container = cont;
     view = new MexicoView(this);
     model = new MexicoModel();
 }
 public MexicoController(GameController cont)
 {
     container = cont;
     view      = new MexicoView(this);
     model     = new MexicoModel();
 }