public CheatsController()
 {
     view = new CheatsView();
      // model = new CheatsModel();
       teerlingView = new TeerlingView(teerlingController);
       teerlingController = new TeerlingController();
       model =  new CheatsModel();
 }
Exemplo n.º 2
0
 public CheatsController()
 {
     view = new CheatsView();
     // model = new CheatsModel();
     teerlingView       = new TeerlingView(teerlingController);
     teerlingController = new TeerlingController();
     model = new CheatsModel();
 }
Exemplo n.º 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);
            }
        }