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);
        }
示例#2
0
        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));
        }