Exemplo n.º 1
0
        public MainView(GameOptions options)
        {
            InitializeComponent();

            log  = new WinFormLogger(LvwLog);
            game = new Game(options, log);
            time = new Time();

            mainPanelDrawer = new MainPanelDrawer(pCartas, SetCheckButton);
            BtnHelp.Enabled = options.GameMode.IsTutorial;

            if (game.Players.Count > 1)
            {
                InfoSets.Visible     = false;
                InfoMistakes.Visible = false;
            }

            game.StartGame();
            DrawMainPanel();
            DrawInfo();
            SetCheckButton();
        }
Exemplo n.º 2
0
        public SerieView(Serie serie)
        {
            InitializeComponent();

            log = new WinFormLogger(LvwLog);
        }