Exemplo n.º 1
0
        private void Fire()
        {
            var ship = spaceGridControl.Selected;

            if (ship is IShip)
            {
                client.Fire((IShip)ship);
            }
        }
Exemplo n.º 2
0
        private void Fire()
        {
            var ship = spaceGridControl.SelectedShip;

            if (ship != null)
            {
                client.Fire(ship, m_left);
            }
        }