Пример #1
0
        public void Brawl(Pirate otherSeaScum)
        {
            if (Alive && otherSeaScum.IsAlive())
            {
                int chances = RandomValue.Next(1, 4);
                switch (chances)
                {
                case 1:
                    Alive = false;
                    break;

                case 2:
                    otherSeaScum.Die();
                    break;

                case 3:
                    Awake = false;
                    otherSeaScum.PassOut();
                    break;
                }
            }
        }
Пример #2
0
 public PirateShip()
 {
     Captain = new Pirate();
 }