public void DismountGunner(M1025 humvee, string[,] AO) { if (status != "KIA") { if (humvee._Gunner.name == this.name) { humvee.DismountGunner(this, AO); } else { Console.WriteLine($"{name} is not the Gunner in {humvee.name}"); } } else { Console.WriteLine($"{name} is KIA"); } }
public void DismountHumveePassenger(M1025 humvee, string[,] AO) { if (status != "KIA") { if (this.myvec.name == humvee.name && this.name != humvee.AOperator.name && this.name != humvee.Operator.name) { humvee.Dismount(this, AO); } else { Console.WriteLine($"{name} is not in passenger seat of {humvee.name}"); } } else { Console.WriteLine($"{name} is KIA"); } }
public void MountGunner(M1025 humvee, string[,] AO) { if (status != "KIA") { if (myvec == null) { humvee.MountGunner(this, AO); } else { Console.WriteLine($"{name} is in {myvec.name}"); } } else { Console.WriteLine($"{name} is KIA"); } }
public void DismountHumveeAOperator(M1025 humvee, string[,] AO) { if (status != "KIA") { if (humvee.AOperator.name == this.name) { humvee.dismountA(this, AO); } else { Console.WriteLine($"{name} is not the A driver in {humvee.name}"); } } else { Console.WriteLine($"{name} is KIA"); } }