public bool canAcceptMarriage(HumanMale hus) { if (faction.humanManagement.isForbiddenToMarry(hus, this)) { return(false); } return(RandomGenerator.getRandomNumber(0, 1) < faction.humanManagement.marriageWishRatio); }
public Family(HumanMale h, HumanFemale w) { husband = h; wife = w; husband.family = this; wife.family = this; childs = new List <Human>(); startDate = GameClock.currentTime; }