public override bool CanCoexistWith(ScenPart other) { ScenPart_GameCondition scenPart_GameCondition = other as ScenPart_GameCondition; if (scenPart_GameCondition != null && !scenPart_GameCondition.def.gameCondition.CanCoexistWith(base.def.gameCondition)) { return(false); } return(true); }
public override bool CanCoexistWith(ScenPart other) { ScenPart_GameCondition scenPart_GameCondition = other as ScenPart_GameCondition; return(scenPart_GameCondition == null || scenPart_GameCondition.def.gameCondition.CanCoexistWith(this.def.gameCondition)); }