private bool AreObjPropertiesValid()
{
float dummyFloat;
int dummyInt;
int dummyInt2;
bool rotationCorrect = float.TryParse(tb_Rotation.Text, out dummyFloat);
bool slevelCorrect = int.TryParse(tb_SLevel.Text, out dummyInt2) ||
(!(currentlySelectedObject is Survivor || currentlySelectedObject is VanishWall));
bool damageCorrect = int.TryParse(tb_Damage.Text, out dummyInt) ||
(!(currentlySelectedObject is HazardStatic)
&& !(currentlySelectedObject is HazardDynamic));
return rotationCorrect && damageCorrect && slevelCorrect;
}