public ScoreController(GameController gameController) { container = gameController; Scoreview = new ScoreView(this); model = new ScoreModel(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); GameController game = new GameController(); Application.Run(game.GetView()); }
public YahtzeeController(GameController c) { gameController = c; model = new YahtzeeModel(this); view = new YahtzeeView(this); dices = new DiceController[model.AmountOfDice]; for (int i = 0; i < dices.Length; i++) { dices[i] = new DiceController(); } }
public YahtzeeController(GameController gameController) { container = gameController; yahtzeeView = new YahtzeeView(this); yahtzeeModel = new YahtzeeModel(); }
public YahtzeeController(GameController GameController) { _gameController = GameController; _view = new YahtzeeView(this); _model = new YahtzeeModel(); }
public GameView(GameController controller) { _controller = controller; InitializeComponent(); }
public GameView(GameController c) { gameController = c; InitializeComponent(); }