示例#1
0
 public void DismountBlackHawkAOperator(Blackhawk hawk, string[,] AO)
 {
     if (status != "KIA")
     {
         if (this.name == hawk.AOperator.name)
         {
             hawk.dismountA(this, AO);
         }
         else
         {
             Console.WriteLine($"{name} is not in the A driver seat of {hawk.name}");
         }
     }
     else
     {
         Console.WriteLine($"{name} is KIA");
     }
 }
示例#2
0
 public void DismountBlackHawkPassenger(Blackhawk hawk, string[,] AO)
 {
     if (status != "KIA")
     {
         if (this.myvec.name == hawk.name && this.name != hawk.AOperator.name && this.name != hawk.Operator.name)
         {
             hawk.dismountBlackHawk(this, AO);
         }
         else
         {
             Console.WriteLine($"{name} is not in passenger seat of {hawk.name}");
         }
     }
     else
     {
         Console.WriteLine($"{name} is KIA");
     }
 }
示例#3
0
 public void MountBlackHawkAOperator(Blackhawk hawk, string[,] AO)
 {
     if (status != "KIA")
     {
         if (this.myvec == null)
         {
             hawk.mountA(this, AO);
         }
         else
         {
             Console.WriteLine($"{name} is in {myvec.name}");
         }
     }
     else
     {
         Console.WriteLine($"{name} is KIA");
     }
 }
示例#4
0
 public void Rappel(Blackhawk helo, string[,] AO)
 {
     helo.dismountBlackHawk(this, AO);
     myvec = null;
 }