public HandController(bool isNpc, RPSLSController c)
 {
     model           = new HandModel(this);
     view            = new HandView(this, isNpc);
     model.IsNpc     = isNpc;
     rpslsController = c;
 }
 public HandController(bool isNpc, RPSLSController c)
 {
     model = new HandModel(this);
       view = new HandView(this, isNpc);
       model.IsNpc = isNpc;
       rpslsController = c;
 }
 public GameController()
 {
     rpsls = new RPSLSController(this, amountOfPlayers);   // 2de parameter = amount of players
       scoreboards = new ScoreBoardController[amountOfPlayers];
       for (int i = 0; i < amountOfPlayers; i++)
       {
     scoreboards[i] = new ScoreBoardController(this, pointsRequiredForSet); // 2de parameter = amount of points nodig voor een set te winnen
       }
       view = new GameView(this);
 }
 public GameController()
 {
     rpsls       = new RPSLSController(this, amountOfPlayers); // 2de parameter = amount of players
     scoreboards = new ScoreBoardController[amountOfPlayers];
     for (int i = 0; i < amountOfPlayers; i++)
     {
         scoreboards[i] = new ScoreBoardController(this, pointsRequiredForSet); // 2de parameter = amount of points nodig voor een set te winnen
     }
     view = new GameView(this);
 }
Ejemplo n.º 5
0
 public RPSLSView(RPSLSController c)
 {
     controller = c;
     InitializeComponent();
 }
 public RPSLSView(RPSLSController c)
 {
     controller = c;
       InitializeComponent();
 }