Exemple #1
0
 public static void PlayTorpedoVoice(ShipModel_Battle model)
 {
     PlayShipVoice(model, (!XorRandom.GetIs()) ? 16 : 15);
 }
Exemple #2
0
 public static void PlayMildCaseVoice(ShipModel_Battle model)
 {
     PlayShipVoice(model, (!XorRandom.GetIs()) ? 20 : 19);
 }
Exemple #3
0
        public static void PlayShellingVoive(ShipModel_Battle model)
        {
            int voiceNum = (model.ShipType == 7 || model.ShipType == 11 || model.ShipType == 18) ? ((!XorRandom.GetIs()) ? 18 : 16) : ((!XorRandom.GetIs()) ? 16 : 15);

            PlayShipVoice(model, voiceNum);
        }
Exemple #4
0
 public static void PlayAircraftCutInVoice(ShipModel_Battle model)
 {
     PlayShipVoice(model, (!XorRandom.GetIs()) ? 17 : 15);
 }
 public static float GetBF11()
 {
     return((!XorRandom.GetIs()) ? -1f : 1f);
 }
 public static int GetBI11()
 {
     return((!XorRandom.GetIs()) ? -1 : 1);
 }
        public static void PlayShellingVoive(ShipModel_Battle model)
        {
            int voiceNum = (model.ShipType != 7 && model.ShipType != 11 && model.ShipType != 18) ? ((!XorRandom.GetIs()) ? 16 : 15) : ((!XorRandom.GetIs()) ? 18 : 16);

            ShipUtils.PlayShipVoice(model, voiceNum);
        }