Exemplo n.º 1
0
        /// <summary>
        /// Выстрел компьютера по полю игрока.
        /// </summary>
        public void ComputerShot(object sender, EventArgs e)
        {
            if (!_nextShootUser)
            {
                bool shootComputer = _computerController.ShootByComputer();

                if (shootComputer)
                {
                    _computerController.ShootByComputer();
                }
            }
        }