public CheatsController()
 {
     view = new CheatsView();
      // model = new CheatsModel();
       teerlingView = new TeerlingView(teerlingController);
       teerlingController = new TeerlingController();
       model =  new CheatsModel();
 }
 public CheatsController()
 {
     view = new CheatsView();
     // model = new CheatsModel();
     teerlingView       = new TeerlingView(teerlingController);
     teerlingController = new TeerlingController();
     model = new CheatsModel();
 }
Exemple #3
0
        void ToonCheats()
        {
            for (int i = 0; i < mAantalCheats; i++)
            {
                CheatsController tijdelijkeController = new CheatsController();
                mCheatsControl.Add(tijdelijkeController);
            }

            for (int i = 0; i < mAantalCheats; i++)
            {
                CheatsView cheatsview = mCheatsControl[i].GetViewCheats();

                int horizontalPosition;
                horizontalPosition  = i * cheatsview.Width;
                cheatsview.Location = new Point(horizontalPosition, mPlayerPanels[i].Bottom);
                cheatsview.Name     = "cheatsview" + i;
                //Controls.Add(cheatsview);
                mCheatsViewList.Add(cheatsview);
                Controls.Add(cheatsview);
            }
        }