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"); } }
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"); } }
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"); } }
public void Rappel(Blackhawk helo, string[,] AO) { helo.dismountBlackHawk(this, AO); myvec = null; }