public void AddTime(float time) { time /= secondsPerMonth; currentTime.AddMonth(time); humanManager.AddAge(time); buildingManager.AddAge(time); resourceManager.AddTime(time); }
public bool AddTime(float time) //true if returns resource { _age.AddMonth(time); if (humans.Count == 0) { return(false); } else { foreach (Human h in humans) { if (h._taskDone) { return(true); } } } return(false); }