public void SetTextIO(WeaponType weaponType, IPAddress IPAddress) { textIO = new WriteTextIO(weaponType.ToString(), ipAddress.ToString()); }